git.iko.soy/typeable/nixpkgs
on master help sign in
bitcoin-abc: init at 0.15.0
commitd82578addb1dee832c7758dbd4a3fbbf30c902b6 authorlassulus <lassulus@lassul.us> dateWed 27 Sep 2017, 17:32 (9 years ago) parent0bc5d15
2 files changed+44
pkgs/applications/altcoins/bitcoin-abc.nix+41 pkgs/applications/altcoins/default.nix+3
pkgs/applications/altcoins/bitcoin-abc.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
2+, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
3+, withGui }:
4+
5+with stdenv.lib;
6+
7+stdenv.mkDerivation rec {
8+
9+ name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version;
10+ version = "0.15.0";
11+
12+ src = fetchFromGitHub {
13+ owner = "bitcoin-ABC";
14+ repo = "bitcoin-abc";
15+ rev = "v${version}";
16+ sha256 = "1fygn6cc99iasg5g5jyps5ps873hfnn4ln4hsmcwlwiqd591qxyv";
17+ };
18+
19+ nativeBuildInputs = [ pkgconfig autoreconfHook ];
20+ buildInputs = [ openssl db48 boost zlib
21+ miniupnpc utillinux protobuf libevent ]
22+ ++ optionals withGui [ qt4 qrencode ];
23+
24+ configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
25+ ++ optionals withGui [ "--with-gui=qt4" ];
26+
27+ meta = {
28+ description = "Peer-to-peer electronic cash system (Cash client)";
29+ longDescription= ''
30+ Bitcoin ABC is the name of open source software which enables the use of Bitcoin.
31+ It is designed to facilite a hard fork to increase Bitcoin's block size limit.
32+ "ABC" stands for "Adjustable Blocksize Cap".
33+
34+ Bitcoin ABC is a fork of the Bitcoin Core software project.
35+ '';
36+ homepage = https://bitcoinabc.org/;
37+ maintainers = with maintainers; [ lassulus ];
38+ license = licenses.mit;
39+ platforms = platforms.unix;
40+ };
41+}
pkgs/applications/altcoins/default.nix+3
@@ -5,6 +5,9 @@ rec {
55 bitcoin = callPackage ./bitcoin.nix { withGui = true; };
66 bitcoind = callPackage ./bitcoin.nix { withGui = false; };
77
8+ bitcoin-abc = callPackage ./bitcoin-abc.nix { withGui = true; };
9+ bitcoind-abc = callPackage ./bitcoin-abc.nix { withGui = false; };
10+
811 bitcoin-unlimited = callPackage ./bitcoin-unlimited.nix { withGui = true; };
912 bitcoind-unlimited = callPackage ./bitcoin-unlimited.nix { withGui = false; };
1013