@@ -1,6 +1,6 @@
1{ fetchurl, stdenv, pkgconfig
1{ fetchurl, stdenv, pkgconfig
2, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
2, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
3−, utillinux, autogen, autoconf, autobuild, automake, db }:
3+, utillinux, autogen, autoconf, autobuild, automake, autoreconfHook, db }:
5with stdenv.lib;
5with stdenv.lib;
@@ -8,7 +8,7 @@ let
8 buildAltcoin = makeOverridable ({walletName, gui ? true, ...}@a:
8 buildAltcoin = makeOverridable ({walletName, gui ? true, ...}@a:
9 stdenv.mkDerivation ({
9 stdenv.mkDerivation ({
10 name = "${walletName}${toString (optional (!gui) "d")}-${a.version}";
10 name = "${walletName}${toString (optional (!gui) "d")}-${a.version}";
11− buildInputs = [ openssl db48 boost zlib miniupnpc ]
11+ buildInputs = [ pkgconfig openssl db48 boost zlib miniupnpc ]
12 ++ optionals gui [ qt4 qrencode ] ++ a.extraBuildInputs or [];
12 ++ optionals gui [ qt4 qrencode ] ++ a.extraBuildInputs or [];
14 configurePhase = optional gui "qmake";
14 configurePhase = optional gui "qmake";
@@ -27,7 +27,7 @@ let
28 platforms = platforms.unix;
28 platforms = platforms.unix;
29 license = license.mit;
29 license = license.mit;
30− maintainers = [ maintainers.offline ];
30+ maintainers = [ maintainers.offline ] ++ a.extraMaintainers;
@@ -35,31 +35,6 @@ let
36 inherit buildAltcoin;
36 inherit buildAltcoin;
38− litecoin = buildAltcoin rec {
39− walletName = "litecoin";
40− version = "0.8.5.3-rc3";
43− url = "https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz";
44− sha256 = "1z4a7bm3z9kd7n0s38kln31z8shsd32d5d5v3br5p0jlnr5g3lk7";
48− description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
50− Litecoin is a peer-to-peer Internet currency that enables instant payments
51− to anyone in the world. It is based on the Bitcoin protocol but differs
52− from Bitcoin in that it can be efficiently mined with consumer-grade hardware.
53− Litecoin provides faster transaction confirmations (2.5 minutes on average)
54− and uses a memory-hard, scrypt-based mining proof-of-work algorithm to target
55− the regular computers and GPUs most people already have.
56− The Litecoin network is scheduled to produce 84 million currency units.
58− homepage = https://litecoin.org/;
61− litecoind = litecoin.override { gui = false; };
63 namecoin = buildAltcoin rec {
38 namecoin = buildAltcoin rec {
64 walletName = "namecoin";
39 walletName = "namecoin";
65 version = "0.3.51.00";
40 version = "0.3.51.00";
@@ -80,4 +55,28 @@ in rec {
58+ darkcoin = buildAltcoin rec {
59+ walletName = "darkcoin";
60+ version = "0.9.13.15";
63+ url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz";
64+ sha256 = "1kly2y3g4dr1jwwf81smqvc7k662x6rvg4ggmxva1yaifb67bgjb";
67+ extraBuildInputs = [ glib ];
70+ description = "A decentralized key/value registration and transfer system";
72+ Darkcoin (DRK) is an open sourced, privacy-centric digital
73+ currency. It allows you keep your finances private as you make
74+ transactions, similar to cash.
76+ homepage = http://darkcoin.io;
77+ extraMaintainers = [ maintainers.AndersonTorres ];
80+ darkcoind = darkcoin.override { gui = false; };