bitcoin: 0.20.1 -> 0.21.0
+ add sqlite to buildInputs (if wallet is enabled)
This commit is contained in:
parent
672607c41f
commit
f324c9a0b6
@ -3,6 +3,7 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, db48
|
, db48
|
||||||
|
, sqlite
|
||||||
, boost
|
, boost
|
||||||
, zeromq
|
, zeromq
|
||||||
, hexdump
|
, hexdump
|
||||||
@ -21,7 +22,7 @@
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
let
|
let
|
||||||
version = "0.20.1";
|
version = "0.21.0";
|
||||||
majorMinorVersion = versions.majorMinor version;
|
majorMinorVersion = versions.majorMinor version;
|
||||||
desktop = fetchurl {
|
desktop = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop";
|
url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop";
|
||||||
@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
"https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
"https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
||||||
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978";
|
sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
@ -46,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional withGui wrapQtAppsHook;
|
++ optional withGui wrapQtAppsHook;
|
||||||
buildInputs = [ boost zlib zeromq miniupnpc libevent ]
|
buildInputs = [ boost zlib zeromq miniupnpc libevent ]
|
||||||
++ optionals stdenv.isLinux [ util-linux ]
|
++ optionals stdenv.isLinux [ util-linux ]
|
||||||
++ optionals withWallet [ db48 ]
|
++ optionals withWallet [ db48 sqlite ]
|
||||||
++ optionals withGui [ qtbase qttools qrencode ];
|
++ optionals withGui [ qtbase qttools qrencode ];
|
||||||
|
|
||||||
postInstall = optional withGui ''
|
postInstall = optional withGui ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user