git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31625 from roconnor/bitcoin

bitcoin: 0.15.0.1 -> 0.15.1

commit33b7ff9ac8284c3f4f9d981a1f5fd695b9cffe12 authorFranz Pletz <fpletz@fnordicwalking.de> dateTue 14 Nov 2017, 17:27 (9 years ago) parent9181faa4173e86
2 files changed+15−11
pkgs/applications/altcoins/bitcoin.nix+12−8 pkgs/applications/altcoins/default.nix+3−3
pkgs/applications/altcoins/bitcoin.nix+12−8
@@ -1,25 +1,29 @@
1−{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
2−, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
1+{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost, zeromq
2+, zlib, miniupnpc, qtbase ? null, qttools ? null, utillinux, protobuf, qrencode, libevent
33, withGui }:
44
55with stdenv.lib;
66stdenv.mkDerivation rec{
77 name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
8− version = "0.15.0.1";
8+ version = "0.15.1";
99
1010 src = fetchurl {
11− url = "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz";
12− sha256 = "16si3skhm6jhw1pkniv2b9y1kkdhjmhj392palphir0qc1srwzmm";
11+ urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
12+ "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
13+ ];
14+ sha256 = "1d22fgwdcn343kd95lh389hj417zwbmnhi29cij8n7wc0nz2vpil";
1315 };
1416
1517 nativeBuildInputs = [ pkgconfig autoreconfHook ];
16− buildInputs = [ openssl db48 boost zlib
18+ buildInputs = [ openssl db48 boost zlib zeromq
1719 miniupnpc protobuf libevent]
1820 ++ optionals stdenv.isLinux [ utillinux ]
19− ++ optionals withGui [ qt4 qrencode ];
21+ ++ optionals withGui [ qtbase qttools qrencode ];
2022
2123 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
22− ++ optionals withGui [ "--with-gui=qt4" ];
24+ ++ optionals withGui [ "--with-gui=qt5"
25+ "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
26+ ];
2327
2428 meta = {
2529 description = "Peer-to-peer electronic cash system";
pkgs/applications/altcoins/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ callPackage, boost155, boost162, openssl_1_1_0, haskellPackages, darwin, libsForQt5 }:
1+{ callPackage, boost155, boost162, openssl_1_1_0, haskellPackages, darwin, libsForQt5, miniupnpc_2 }:
22
33rec {
44
5− bitcoin = callPackage ./bitcoin.nix { withGui = true; };
6− bitcoind = callPackage ./bitcoin.nix { withGui = false; };
5+ bitcoin = libsForQt5.callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = true; };
6+ bitcoind = callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = false; };
77
88 bitcoin-abc = libsForQt5.callPackage ./bitcoin-abc.nix { withGui = true; };
99 bitcoind-abc = callPackage ./bitcoin-abc.nix { withGui = false; };