1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

bitcoin: 0.21.1 -> 22.0

This commit is contained in:
Pavol Rusnak 2021-09-13 22:55:56 +02:00
parent f5d48e200a
commit 9cdc7e7ae8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -24,10 +24,10 @@
with lib; with lib;
let let
version = "0.21.1"; version = "22.0";
majorMinorVersion = versions.majorMinor version; majorVersion = versions.major 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/${majorVersion}.x/debian/bitcoin-qt.desktop";
sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha"; sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha";
}; };
in in
@ -40,7 +40,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 = "caff23449220cf45753f312cefede53a9eac64000bb300797916526236b6a1e0"; sha256 = "d0e9d089b57048b1555efa7cd5a63a7ed042482045f6f33402b1df425bf9613b";
}; };
nativeBuildInputs = nativeBuildInputs =