summary refs log tree commit diff
path: root/pkgs/applications/misc/freicoin
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-12-29 10:46:54 +0100
committerLluís Batlle i Rossell <viric@viric.name>2012-12-29 10:46:54 +0100
commit30e0edd812525100432803ad5b66273c39d19e2a (patch)
tree62e3efba10f03563aaa8c227365c3b199ca70f63 /pkgs/applications/misc/freicoin
parent38e5443d864ebe59a6823ded70e677ebbc2045bd (diff)
downloadnixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar.gz
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar.bz2
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar.lz
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar.xz
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.tar.zst
nixlib-30e0edd812525100432803ad5b66273c39d19e2a.zip
Adding freicoin 0.0.1
Diffstat (limited to 'pkgs/applications/misc/freicoin')
-rw-r--r--pkgs/applications/misc/freicoin/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/misc/freicoin/default.nix b/pkgs/applications/misc/freicoin/default.nix
new file mode 100644
index 000000000000..163cb04c27eb
--- /dev/null
+++ b/pkgs/applications/misc/freicoin/default.nix
@@ -0,0 +1,30 @@
+{ fetchurl, stdenv, db4, boost, gmp, mpfr, miniupnpc, qt4, unzip }:
+
+stdenv.mkDerivation rec {
+  version = "0.0.1-3";
+  name = "freicoin-${version}";
+
+  src = fetchurl {
+    url = "https://github.com/freicoin/freicoin/archive/v${version}.zip";
+    sha256 = "19q4llv67kmvfr0x56rnqcf0d050dayv246q4i51mmkvjijc1qpf";
+  };
+
+  # I think that openssl and zlib are required, but come through other
+  # packages
+  buildInputs = [ db4 boost gmp mpfr miniupnpc qt4 unzip ];
+
+  configurePhase = "qmake";
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp freicoin-qt $out/bin
+  '';
+
+  meta = {
+    description = "Peer-to-peer currency with demurrage fee";
+    homepage = "http://freicoi.in/";
+    license = "MIT";
+    maintainers = with stdenv.lib.maintainers; [viric];
+    platforms = with stdenv.lib.platforms; linux;
+  };
+}