bitcoin: 0.20.1 -> 0.21.0

+ add sqlite to buildInputs (if wallet is enabled)
This commit is contained in:
Pavol Rusnak 2021-01-16 13:44:40 +01:00
parent 672607c41f
commit f324c9a0b6
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -3,6 +3,7 @@
, pkg-config
, autoreconfHook
, db48
, sqlite
, boost
, zeromq
, hexdump
@ -21,7 +22,7 @@
with stdenv.lib;
let
version = "0.20.1";
version = "0.21.0";
majorMinorVersion = versions.majorMinor version;
desktop = fetchurl {
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://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
];
sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978";
sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37";
};
nativeBuildInputs =
@ -46,7 +47,7 @@ stdenv.mkDerivation rec {
++ optional withGui wrapQtAppsHook;
buildInputs = [ boost zlib zeromq miniupnpc libevent ]
++ optionals stdenv.isLinux [ util-linux ]
++ optionals withWallet [ db48 ]
++ optionals withWallet [ db48 sqlite ]
++ optionals withGui [ qtbase qttools qrencode ];
postInstall = optional withGui ''