diff options
author | Emmanuel Rosa <emmanuelrosa@protonmail.com> | 2023-04-06 11:21:35 -0400 |
---|---|---|
committer | Emmanuel Rosa <emmanuelrosa@protonmail.com> | 2023-04-06 11:36:58 -0400 |
commit | 140437c1298ddd0baaaa09a1363be5e1410af307 (patch) | |
tree | 66a712c57325f1cbb755d94f71205b8f579fc55e /pkgs/applications/blockchains | |
parent | a6de94bb437baa2b0de3dd1e91278abb28f916a1 (diff) |
sparrow: 1.7.3 -> 1.7.4
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/sparrow/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/blockchains/sparrow/default.nix b/pkgs/applications/blockchains/sparrow/default.nix index 5200a34c04f3e..18f11af30e46f 100644 --- a/pkgs/applications/blockchains/sparrow/default.nix +++ b/pkgs/applications/blockchains/sparrow/default.nix @@ -16,15 +16,16 @@ , openimajgrabber , hwi , imagemagick +, gzip }: let pname = "sparrow"; - version = "1.7.3"; + version = "1.7.4"; src = fetchurl { url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-x86_64.tar.gz"; - sha256 = "sha256-/tKct73v0zWAjY4kTllnb/+SB/8ENgVl8Yh/LErKTxY="; + sha256 = "08ircrc93gsf3vgqn07gjwmy4bs3jds9rg184pihyymm7g9girfb"; }; launcher = writeScript "sparrow" '' @@ -93,7 +94,7 @@ let sparrow-modules = stdenv.mkDerivation { pname = "sparrow-modules"; inherit version src; - nativeBuildInputs = [ makeWrapper gnugrep openjdk autoPatchelfHook stdenv.cc.cc.lib zlib ]; + nativeBuildInputs = [ makeWrapper gzip gnugrep openjdk autoPatchelfHook stdenv.cc.cc.lib zlib ]; buildPhase = '' # Extract Sparrow's JIMAGE and generate a list of them. @@ -143,9 +144,9 @@ let # Replace the embedded Tor binary (which is in a Tar archive) # with one from Nixpkgs. - cp ${torWrapper} ./tor - tar -cJf tor.tar.xz tor - cp tor.tar.xz modules/netlayer.jpms/native/linux/x64/tor.tar.xz + gzip -c ${torWrapper} > tor.gz + cp tor.gz modules/kmp.tor.binary.linuxx64/kmptor/linux/x64/tor.gz + find modules ''; installPhase = '' |