26 pname = "bitcoin" + lib.optionalString (!withGui) "d" + "-abc";
29 src = fetchFromGitHub {
30 owner = "bitcoin-ABC";
33 sha256 = "0gz4713lk3alk3ykwq1bdqjywadrfrnb7n2878136g01n87j00az";
36 nativeBuildInputs = [ pkg-config cmake ];
50 ] ++ lib.optionals withGui [ qtbase qttools qrencode ];
52 cmakeFlags = lib.optionals (!withGui) [
53 "-DBUILD_BITCOIN_QT=OFF"
56 # many of the generated scripts lack execute permissions
58 find ./. -type f -iname "*.sh" -exec chmod +x {} \;
62 description = "Peer-to-peer electronic cash system (Cash client)";
64 Bitcoin ABC is the name of open source software which enables the use of Bitcoin.
65 It is designed to facilite a hard fork to increase Bitcoin's block size limit.
66 "ABC" stands for "Adjustable Blocksize Cap".
68 Bitcoin ABC is a fork of the Bitcoin Core software project.
70 homepage = "https://bitcoinabc.org/";
71 maintainers = with maintainers; [ lassulus ];
72 license = licenses.mit;
73 broken = stdenv.isDarwin;
74 platforms = platforms.unix;
75 mainProgram = "bitcoin-cli";