git.iko.soy/typeable/nixpkgs
on master help sign in
Altcoins - a new category of applications

Here, I present a new level of hierarchy on Nixpkgs: the Altcoins. The idea is to put a single cryptocurrency per file, and build them using expressions like altcoins.bitcoin. I believe this ordering is clearer and more maintainable that the current one.

commitac4f15b28274c46a4ed5d6c2e82c94a3decec353 authorAndersonTorres <torres.anderson.85@gmail.com> dateSun 30 Nov 2014, 11:13 (12 years ago) parent8281ef1
15 files changed+247−357
pkgs/applications/altcoins/bitcoin.nix+36 pkgs/applications/altcoins/darkcoin.nix+40 pkgs/applications/altcoins/default.nix+19 pkgs/applications/altcoins/dogecoin.nix+47 pkgs/applications/altcoins/litecoin.nix+41 pkgs/applications/altcoins/namecoin.nix+26 pkgs/applications/altcoins/namecoind.nix+35 pkgs/applications/misc/bitcoin/altcoins.nix−82 pkgs/applications/misc/bitcoin/default.nix−52 pkgs/applications/misc/bitcoin/dogecoin.nix−70 pkgs/applications/misc/bitcoin/litecoin.nix−60 pkgs/applications/misc/bitcoin/namecoin_dynamic.patch−11 pkgs/applications/misc/namecoin/default.nix−37 pkgs/applications/misc/namecoin/qt.nix−33 pkgs/top-level/all-packages.nix+3−12
pkgs/applications/altcoins/bitcoin.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
2+, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
3+, withGui }:
4+
5+with stdenv.lib;
6+stdenv.mkDerivation rec{
7+
8+ name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
9+ version = "0.9.3";
10+
11+ src = fetchurl {
12+ url = "https://github.com/bitcoin/bitcoin/archive/v${version}.tar.gz";
13+ sha256 = "0a6lkfzsmqqcbz2cc0cg8dccd990b5y7qi8mw358fhfb4f1jxn9y";
14+ };
15+
16+ buildInputs = [ pkgconfig autoreconfHook openssl db48 boost zlib
17+ miniupnpc utillinux protobuf ]
18+ ++ optionals withGui [ qt4 qrencode ];
19+
20+ configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
21+ ++ optionals withGui [ "--with-gui=qt4" ];
22+
23+ meta = {
24+ description = "Peer-to-peer electronic cash system";
25+ longDescription= ''
26+ Bitcoin is a free open source peer-to-peer electronic cash system that is
27+ completely decentralized, without the need for a central server or trusted
28+ parties. Users hold the crypto keys to their own money and transact directly
29+ with each other, with the help of a P2P network to check for double-spending.
30+ '';
31+ homepage = "http://www.bitcoin.org/";
32+ maintainers = with maintainers; [ roconnor AndersonTorres ];
33+ license = licenses.mit;
34+ platforms = platforms.unix;
35+ };
36+}
pkgs/applications/altcoins/darkcoin.nixnew file+40
@@ -0,0 +1,40 @@
1+{ fetchurl, stdenv, pkgconfig
2+, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
3+, utillinux
4+, withGui }:
5+
6+with stdenv.lib;
7+stdenv.mkDerivation rec {
8+
9+ name = "darkcoin" + (toString (optional (!withGui) "d")) + "-" + version;
10+ version = "0.9.13.15";
11+
12+ src = fetchurl {
13+ url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz";
14+ sha256 = "1kly2y3g4dr1jwwf81smqvc7k662x6rvg4ggmxva1yaifb67bgjb";
15+ };
16+
17+ buildInputs = [ pkgconfig glib openssl db48 boost zlib miniupnpc ]
18+ ++ optionals withGui [ qt4 qrencode ];
19+
20+ configurePhase = optional withGui "qmake";
21+
22+ preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
23+
24+ installPhase =
25+ if withGui
26+ then "install -D darkcoin-qt $out/bin/darkcoin-qt"
27+ else "install -D darkcoind $out/bin/darkcoind";
28+
29+ meta = with stdenv.lib; {
30+ description = "A decentralized key/value registration and transfer system";
31+ longDescription = ''
32+ Darkcoin (DRK) is an open sourced, privacy-centric digital
33+ currency. It allows you keep your finances private as you make
34+ transactions, similar to cash.
35+ '';
36+ homepage = http://darkcoin.io;
37+ maintainers = with maintainers; [ AndersonTorres ];
38+ platforms = with platforms; unix;
39+ };
40+}
pkgs/applications/altcoins/default.nixnew file+19
@@ -0,0 +1,19 @@
1+{ callPackage, pkgs }:
2+
3+rec {
4+
5+ bitcoin = callPackage ./bitcoin.nix { withGui = true; };
6+ bitcoind = callPackage ./bitcoin.nix { withGui = false; };
7+
8+ darkcoin = callPackage ./darkcoin.nix { withGui = true; };
9+ darkcoind = callPackage ./darkcoin.nix { withGui = false; };
10+
11+ dogecoin = callPackage ./dogecoin.nix { withGui = true; };
12+ dogecoind = callPackage ./dogecoin.nix { withGui = false; };
13+
14+ litecoin = callPackage ./litecoin.nix { withGui = true; };
15+ litecoind = callPackage ./litecoin.nix { withGui = false; };
16+
17+ namecoin = callPackage ./namecoin.nix { inherit namecoind; };
18+ namecoind = callPackage ./namecoind.nix { };
19+}
pkgs/applications/altcoins/dogecoin.nixnew file+47
@@ -0,0 +1,47 @@
1+{ stdenv , fetchurl
2+, pkgconfig, autoreconfHook
3+, db5, openssl, boost, zlib, miniupnpc
4+, glib, protobuf, utillinux, qt4, qrencode
5+, withGui }:
6+
7+with stdenv.lib;
8+stdenv.mkDerivation rec {
9+
10+ name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version;
11+ version = "1.8.0";
12+
13+ src = fetchurl {
14+ url = "https://github.com/dogecoin/dogecoin/archive/v${version}.tar.gz";
15+ sha256 = "8a33958c04213cd621aa3c86910477813af22512f03b47c98995d20d31f3f935";
16+ };
17+
18+ buildInputs = [ autoreconfHook pkgconfig openssl
19+ db5 openssl utillinux protobuf boost zlib miniupnpc ]
20+ ++ optionals withGui [ qt4 qrencode ];
21+
22+ # BSD DB5 location
23+ patchPhase = ''
24+ sed -i \
25+ -e 's,BDB_CPPFLAGS=$,BDB_CPPFLAGS="-I${db5}/include",g' \
26+ -e 's,BDB_LIBS=$,BDB_LIBS="-L${db5}/lib",g' \
27+ -e 's,bdbdirlist=$,bdbdirlist="${db5}/include",g' \
28+ src/m4/dogecoin_find_bdb51.m4
29+ '';
30+
31+ configureFlags = [ "--with-incompatible-bdb"
32+ "--with-boost-libdir=${boost.lib}/lib" ]
33+ ++ optionals withGui [ "--with-gui" ];
34+
35+ meta = {
36+ description = "Wow, such coin, much shiba, very rich";
37+ longDescription = ''
38+ Dogecoin is a decentralized, peer-to-peer digital currency that
39+ enables you to easily send money online. Think of it as "the
40+ internet currency."
41+ It is named after a famous Internet meme, the "Doge" - a Shiba Inu dog.
42+ '';
43+ homepage = http://www.dogecoin.com/;
44+ license = licenses.mit;
45+ maintainers = with maintainers; [ edwtjo offline AndersonTorres ];
46+ };
47+}
pkgs/applications/altcoins/litecoin.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchurl
2+, pkgconfig, autoreconfHook
3+, openssl, db48, boost, zlib, miniupnpc
4+, glib, protobuf, utillinux, qt4, qrencode
5+, withGui }:
6+
7+with stdenv.lib;
8+stdenv.mkDerivation rec {
9+
10+ name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version;
11+ version = "0.9.3-preview5";
12+
13+ src = fetchurl {
14+ url = "https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz";
15+ sha256 = "0nnfz4s2g28jb5fqy6cabsryp3h2amzlyslr6g6k8r1vmzvx5ym6";
16+ };
17+
18+ buildInputs = [ pkgconfig autoreconfHook openssl
19+ openssl db48 boost zlib miniupnpc glib protobuf utillinux ]
20+ ++ optionals withGui [ qt4 qrencode ];
21+
22+ configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
23+ ++ optionals withGui [ "--with-gui=qt4" ];
24+
25+ meta = with stdenv.lib; {
26+ description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
27+ longDescription= ''
28+ Litecoin is a peer-to-peer Internet currency that enables instant payments
29+ to anyone in the world. It is based on the Bitcoin protocol but differs
30+ from Bitcoin in that it can be efficiently mined with consumer-grade hardware.
31+ Litecoin provides faster transaction confirmations (2.5 minutes on average)
32+ and uses a memory-hard, scrypt-based mining proof-of-work algorithm to target
33+ the regular computers and GPUs most people already have.
34+ The Litecoin network is scheduled to produce 84 million currency units.
35+ '';
36+ homepage = https://litecoin.org/;
37+ platforms = platforms.unix;
38+ license = licenses.mit;
39+ maintainers = with maintainers; [ offline AndersonTorres ];
40+ };
41+}
pkgs/applications/altcoins/namecoin.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, db4, boost, openssl, qt4, miniupnpc, unzip, namecoind }:
2+
3+with stdenv.lib;
4+stdenv.mkDerivation rec {
5+
6+ name = "namecoin-${version}";
7+ version = namecoind.version;
8+ src = namecoind.src;
9+
10+ buildInputs = [ db4 boost openssl unzip qt4 miniupnpc ];
11+
12+ configurePhase = ''
13+ qmake USE_UPNP=-
14+ '';
15+
16+ buildPhase = ''
17+ make
18+ '';
19+
20+ installPhase = ''
21+ mkdir -p $out/bin
22+ cp namecoin-qt $out/bin
23+ '';
24+
25+ meta = namecoind.meta;
26+}
pkgs/applications/altcoins/namecoind.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv, fetchurl, db4, boost, openssl, miniupnpc, unzip }:
2+
3+with stdenv.lib;
4+stdenv.mkDerivation rec {
5+ version = "0.3.76";
6+ name = "namecoind-${version}";
7+
8+ src = fetchurl {
9+ url = "https://github.com/namecoin/namecoin/archive/nc${version}.tar.gz";
10+ sha256 = "007372j47hb7p89smh3w0p6z70gii9gd4v6agpycqiv4r3n9sv5v";
11+ };
12+
13+ buildInputs = [ db4 boost openssl unzip miniupnpc ];
14+
15+ patchPhase = ''
16+ sed -e 's/-Wl,-Bstatic//g' -e 's/-l gthread-2.0//g' -e 's/-l z//g' -i src/Makefile
17+ '';
18+
19+ buildPhase = ''
20+ make -C src INCLUDEPATHS= LIBPATHS=
21+ '';
22+
23+ installPhase = ''
24+ mkdir -p $out/bin
25+ cp src/namecoind $out/bin
26+ '';
27+
28+ meta = {
29+ description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
30+ homepage = http://namecoin.info;
31+ license = licenses.mit;
32+ maintainers = with maintainers; [ doublec AndersonTorres ];
33+ platforms = platforms.linux;
34+ };
35+}
pkgs/applications/misc/bitcoin/altcoins.nixdeleted−82
@@ -1,82 +0,0 @@
1−{ fetchurl, stdenv, pkgconfig
2−, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
3−, utillinux, autogen, autoconf, autobuild, automake, autoreconfHook, db }:
4−
5−with stdenv.lib;
6−
7−let
8− buildAltcoin = makeOverridable ({walletName, gui ? true, ...}@a:
9− stdenv.mkDerivation ({
10− name = "${walletName}${toString (optional (!gui) "d")}-${a.version}";
11− buildInputs = [ pkgconfig openssl db48 boost zlib miniupnpc ]
12− ++ optionals gui [ qt4 qrencode ] ++ a.extraBuildInputs or [];
13−
14− configurePhase = optional gui "qmake";
15−
16− preBuild = optional (!gui) "cd src";
17− makefile = optional (!gui) "makefile.unix";
18−
19− installPhase = if gui then ''
20− install -D "${walletName}-qt" "$out/bin/${walletName}-qt"
21− '' else ''
22− install -D "${walletName}d" "$out/bin/${walletName}d"
23− '';
24−
25− passthru.walletName = walletName;
26−
27− meta = {
28− platforms = platforms.unix;
29− license = license.mit;
30− maintainers = [ maintainers.offline ] ++ a.extraMaintainers;
31− };
32− } // a)
33− );
34−
35−in rec {
36− inherit buildAltcoin;
37−
38− namecoin = buildAltcoin rec {
39− walletName = "namecoin";
40− version = "0.3.51.00";
41− gui = false;
42−
43− src = fetchurl {
44− url = "https://github.com/namecoin/namecoin/archive/nc${version}.tar.gz";
45− sha256 = "0r6zjzichfjzhvpdy501gwy9h3zvlla3kbgb38z1pzaa0ld9siyx";
46− };
47−
48− patches = [ ./namecoin_dynamic.patch ];
49−
50− extraBuildInputs = [ glib ];
51−
52− meta = {
53− description = "A decentralized key/value registration and transfer system based on Bitcoin technology";
54− homepage = http://namecoin.info;
55− };
56− };
57−
58− darkcoin = buildAltcoin rec {
59− walletName = "darkcoin";
60− version = "0.9.13.15";
61−
62− src = fetchurl {
63− url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz";
64− sha256 = "1kly2y3g4dr1jwwf81smqvc7k662x6rvg4ggmxva1yaifb67bgjb";
65− };
66−
67− extraBuildInputs = [ glib ];
68−
69− meta = {
70− description = "A decentralized key/value registration and transfer system";
71− longDescription = ''
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.
75− '';
76− homepage = http://darkcoin.io;
77− extraMaintainers = [ maintainers.AndersonTorres ];
78− };
79− };
80− darkcoind = darkcoin.override { gui = false; };
81−
82−}
pkgs/applications/misc/bitcoin/default.nixdeleted−52
@@ -1,52 +0,0 @@
1−{ fetchurl, stdenv, openssl, db48, boost, zlib, miniupnpc, qt4, utillinux
2−, pkgconfig, protobuf, qrencode, gui ? true }:
3−
4−with stdenv.lib;
5−
6−stdenv.mkDerivation rec {
7− version = "0.9.3";
8− name = "bitcoin${toString (optional (!gui) "d")}-${version}";
9−
10− src = fetchurl {
11− url = "https://bitcoin.org/bin/${version}/bitcoin-${version}-linux.tar.gz";
12− sha256 = "1kb59w7232qzfh952rz6vvjri2w26n9cq7baml0vifdsdhxph9f4";
13− };
14−
15− # hexdump from utillinux is required for tests
16− buildInputs = [
17− openssl db48 boost zlib miniupnpc utillinux pkgconfig protobuf
18− ] ++ optionals gui [ qt4 qrencode ];
19−
20− unpackPhase = ''
21− mkdir tmp-extract && (cd tmp-extract && tar xf $src)
22− tar xf tmp-extract/bitcoin*/src/bitcoin*.tar*
23− cd bitcoin*
24− '';
25−
26− preCheck = ''
27− # At least one test requires writing in $HOME
28− HOME=$TMPDIR
29− '';
30−
31− configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ];
32−
33− doCheck = true;
34−
35− enableParallelBuilding = true;
36−
37− passthru.walletName = "bitcoin";
38−
39− meta = {
40− description = "Peer-to-peer electronic cash system";
41− longDescription= ''
42− Bitcoin is a free open source peer-to-peer electronic cash system that is
43− completely decentralized, without the need for a central server or trusted
44− parties. Users hold the crypto keys to their own money and transact directly
45− with each other, with the help of a P2P network to check for double-spending.
46− '';
47− homepage = "http://www.bitcoin.org/";
48− maintainers = [ maintainers.roconnor ];
49− license = licenses.mit;
50− platforms = platforms.unix;
51− };
52−}
pkgs/applications/misc/bitcoin/dogecoin.nixdeleted−70
@@ -1,70 +0,0 @@
1−{ fetchurl, stdenv, pkgconfig
2−, openssl, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
3−, utillinux, autogen, autoconf, autobuild, automake, db }:
4−
5−with stdenv.lib;
6−
7−let
8−
9− mkAutotoolCoin =
10− { name, version, withGui, src, meta }:
11−
12− stdenv.mkDerivation {
13− inherit src meta;
14−
15− name = name + (toString (optional (!withGui) "d")) + "-" + version;
16−
17− buildInputs = [ autogen autoconf automake pkgconfig openssl
18− boost zlib miniupnpc db utillinux protobuf ]
19− ++ optionals withGui [ qt4 qrencode ];
20−
21− patchPhase = ''
22− sed -i \
23− -e 's,BDB_CPPFLAGS=$,BDB_CPPFLAGS="-I${db}/include",g' \
24− -e 's,BDB_LIBS=$,BDB_LIBS="-L${db}/lib",g' \
25− -e 's,bdbdirlist=$,bdbdirlist="${db}/include",g' \
26− src/m4/dogecoin_find_bdb51.m4
27− '';
28−
29− configurePhase = ''
30− ./autogen.sh \
31− && ./configure --prefix=$out \
32− --with-incompatible-bdb \
33− ${ if withGui then "--with-gui" else "" }
34− '';
35−
36− installPhase = ''
37− install -D "src/dogecoin-cli" "$out/bin/dogecoin-cli"
38− install -D "src/dogecoind" "$out/bin/dogecoind"
39− ${ if withGui then "install -D src/qt/dogecoin-qt $out/bin/dogecoin-qt" else "" }
40− '';
41−
42− };
43−
44− mkDogeCoin = { withGui }:
45−
46− mkAutotoolCoin rec {
47− name = "dogecoin";
48− version = "1.8.0";
49− inherit withGui;
50−
51− src = fetchurl {
52− url = "https://github.com/dogecoin/dogecoin/archive/v${version}.tar.gz";
53− sha256 = "8a33958c04213cd621aa3c86910477813af22512f03b47c98995d20d31f3f935";
54− };
55−
56− meta = {
57− description = "Wow, such coin, much shiba, very rich";
58− longDescription = "wow";
59− homepage = http://www.dogecoin.com/;
60− license = licenses.mit;
61− maintainers = with maintainers; [ edwtjo offline ];
62− };
63− };
64−
65−in {
66−
67− dogecoin = mkDogeCoin { withGui = true; };
68− dogecoind = mkDogeCoin { withGui = false; };
69−
70−}
pkgs/applications/misc/bitcoin/litecoin.nixdeleted−60
@@ -1,60 +0,0 @@
1−{ stdenv, fetchurl, pkgconfig
2−, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
3−, utillinux, autogen, autoreconfHook }:
4−
5−with stdenv.lib;
6−
7−let
8− mkAutoreconfCoin =
9− { name, version, withGui, src, meta }:
10−
11− stdenv.mkDerivation {
12−
13− inherit src meta;
14−
15− name = name + (toString (optional (!withGui) "d")) + "-" + version;
16−
17− buildInputs = [ autogen autoreconfHook pkgconfig openssl
18− boost zlib miniupnpc db48 glib utillinux protobuf ]
19− ++ optionals withGui [ qt4 qrencode protobuf ];
20−
21− configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ] ++ optionals withGui [ "--with-gui=qt4" ];
22− };
23−
24− mkLitecoin = { withGui }:
25−
26− mkAutoreconfCoin rec {
27−
28− name = "litecoin";
29− version = "0.9.3-preview5";
30− inherit withGui;
31−
32− src = fetchurl {
33− url = "https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz";
34− sha256 = "0nnfz4s2g28jb5fqy6cabsryp3h2amzlyslr6g6k8r1vmzvx5ym6";
35− };
36−
37− meta = with stdenv.lib; {
38− description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
39− longDescription= ''
40− Litecoin is a peer-to-peer Internet currency that enables instant payments
41− to anyone in the world. It is based on the Bitcoin protocol but differs
42− from Bitcoin in that it can be efficiently mined with consumer-grade hardware.
43− Litecoin provides faster transaction confirmations (2.5 minutes on average)
44− and uses a memory-hard, scrypt-based mining proof-of-work algorithm to target
45− the regular computers and GPUs most people already have.
46− The Litecoin network is scheduled to produce 84 million currency units.
47− '';
48− homepage = https://litecoin.org/;
49− platforms = platforms.unix;
50− license = licenses.mit;
51− maintainers = [ maintainers.offline maintainers.AndersonTorres ];
52− };
53− };
54−
55−in {
56−
57− litecoin = mkLitecoin { withGui = true; };
58− litecoind = mkLitecoin { withGui = false; };
59−
60−}
pkgs/applications/misc/bitcoin/namecoin_dynamic.patchdeleted−11
@@ -1,11 +0,0 @@
1−diff -u -r a/src/makefile.unix b/src/makefile.unix
2−--- a/src/makefile.unix 2014-01-22 22:07:59.801601964 -0800
3−+++ b/src/makefile.unix 2014-01-22 22:08:07.980332839 -0800
4−@@ -12,7 +12,6 @@
5−
6− # for boost 1.37, add -mt to the boost libraries
7− LIBS= \
8−- -Wl,-Bstatic \
9− -l boost_system \
10− -l boost_filesystem \
11− -l boost_program_options \
pkgs/applications/misc/namecoin/default.nixdeleted−37
@@ -1,37 +0,0 @@
1−{ fetchgit, stdenv, db4, boost, openssl, unzip }:
2−
3−stdenv.mkDerivation rec {
4− version = "0.3.76";
5− name = "namecoin-${version}";
6−
7− src = fetchgit {
8− url = "https://github.com/namecoin/namecoin";
9− rev = "224175ca3bba6eea6f6b1bdb007b482eb2bd2aee";
10− sha256 = "3ccfb6fdda1b9d105e775eb19c696be7fec1b3671f9b4f43d02fa14a4c6848dd";
11− };
12−
13− # Don't build with miniupnpc due to namecoin using a different verison that
14− # ships with NixOS and it is API incompatible.
15− buildInputs = [ db4 boost openssl unzip ];
16−
17− patchPhase = ''
18− sed -e 's/-Wl,-Bstatic//g' -e 's/-l gthread-2.0//g' -e 's/-l z//g' -i src/Makefile
19− '';
20−
21− buildPhase = ''
22− make -C src INCLUDEPATHS= LIBPATHS=
23− '';
24−
25− installPhase = ''
26− mkdir -p $out/bin
27− cp src/namecoind $out/bin
28− '';
29−
30− meta = {
31− description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
32− homepage = "http://namecoin.info";
33− license = stdenv.lib.licenses.mit;
34− maintainers = [ stdenv.lib.maintainers.doublec ];
35− platforms = with stdenv.lib.platforms; linux;
36− };
37−}
pkgs/applications/misc/namecoin/qt.nixdeleted−33
@@ -1,33 +0,0 @@
1−{ fetchgit, stdenv, db4, boost, openssl, qt4, unzip, namecoin }:
2−
3−stdenv.mkDerivation rec {
4− version = namecoin.version;
5− name = "namecoin-qt-${version}";
6−
7− src = namecoin.src;
8−
9− # Don't build with miniupnpc due to namecoin using a different verison that
10− # ships with NixOS and it is API incompatible.
11− buildInputs = [ db4 boost openssl unzip qt4 ];
12−
13− configurePhase = ''
14− qmake USE_UPNP=-
15− '';
16−
17− buildPhase = ''
18− make
19− '';
20−
21− installPhase = ''
22− mkdir -p $out/bin
23− cp namecoin-qt $out/bin
24− '';
25−
26− meta = {
27− description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
28− homepage = "http://namecoin.info";
29− license = stdenv.lib.licenses.mit;
30− maintainers = [ stdenv.lib.maintainers.doublec ];
31− platforms = with stdenv.lib.platforms; linux;
32− };
33−}
pkgs/top-level/all-packages.nix+3−12
@@ -9158,6 +9158,9 @@ let
91589158
91599159 schismtracker = callPackage ../applications/audio/schismtracker { };
91609160
9161+ altcoins = recurseIntoAttrs ( callPackage ../applications/altcoins { } );
9162+ bitcoin = altcoins.bitcoin;
9163+
91619164 aumix = callPackage ../applications/audio/aumix {
91629165 gtkGUI = false;
91639166 };
@@ -9215,15 +9218,6 @@ let
92159218
92169219 bibletime = callPackage ../applications/misc/bibletime { };
92179220
9218− bitcoin = callPackage ../applications/misc/bitcoin {};
9219− bitcoind = callPackage ../applications/misc/bitcoin { gui = false; };
9220−
9221− altcoins = recurseIntoAttrs (
9222− (callPackage ../applications/misc/bitcoin/altcoins.nix {}) //
9223− (callPackage ../applications/misc/bitcoin/dogecoin.nix {}) //
9224− (callPackage ../applications/misc/bitcoin/litecoin.nix {})
9225− );
9226−
92279221 bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { };
92289222
92299223 blender = callPackage ../applications/misc/blender {
@@ -10422,9 +10416,6 @@ let
1042210416 withSidebar = true;
1042310417 };
1042410418
10425− namecoin = callPackage ../applications/misc/namecoin { };
10426− namecoinqt = callPackage ../applications/misc/namecoin/qt.nix { };
10427−
1042810419 pcmanfm = callPackage ../applications/misc/pcmanfm { };
1042910420
1043010421 ruby_gpgme = callPackage ../development/libraries/ruby_gpgme {