Skip to content

Commit dbc11c4

Browse files
authored
wasabiwallet: 2.0.8.1 -> 2.5.1 (NixOS#395909)
2 parents 60fb61e + e1e6d98 commit dbc11c4

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

pkgs/by-name/wa/wasabiwallet/package.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ let
2727
in
2828
stdenv.mkDerivation rec {
2929
pname = "wasabiwallet";
30-
version = "2.0.8.1";
30+
version = "2.5.1";
3131

3232
src = fetchurl {
33-
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz";
34-
sha256 = "sha256-9q93C8Q4MKrpvAs6cb4sgo3PDVhk9ZExeHIZ9Qm8P2w=";
33+
url = "https://github.com/WalletWasabi/WalletWasabi/releases/download/v${version}/Wasabi-${version}-linux-x64.tar.gz";
34+
sha256 = "sha256-DTgxLg8NwjHX085Ai6zxXgjL3x8ZHqVIpvxk/KRl+7w=";
3535
};
3636

3737
dontBuild = true;
3838

3939
desktopItem = makeDesktopItem {
4040
name = "wasabi";
41-
exec = "wasabiwallet";
41+
exec = "wasabiwallet-desktop";
4242
desktopName = "Wasabi";
4343
genericName = "Bitcoin wallet";
4444
comment = meta.description;
@@ -58,13 +58,15 @@ stdenv.mkDerivation rec {
5858

5959
installPhase = ''
6060
mkdir -p $out/opt/${pname} $out/bin $out/share/applications
61-
cp -Rv . $out/opt/${pname}
6261
63-
makeWrapper "$out/opt/${pname}/wassabee" "$out/bin/${pname}" \
64-
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
62+
# The weird path is an upstream packaging error and could be fixed in the upcoming release
63+
cp -Rv ./runner/work/WalletWasabi/WalletWasabi/build/linux-x64/* $out/opt/${pname}
6564
66-
makeWrapper "$out/opt/${pname}/wassabeed" "$out/bin/${pname}d" \
67-
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
65+
for nameMap in "wassabee:desktop" "wassabeed:daemon" "wcoordinator:coordinator" "wbackend:backend"; do
66+
IFS=":" read -r filename wrappedname <<< "$nameMap"
67+
makeWrapper "$out/opt/${pname}/$filename" "$out/bin/${pname}-$wrappedname" \
68+
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
69+
done
6870
6971
cp -v $desktopItem/share/applications/* $out/share/applications
7072
'';

0 commit comments

Comments
 (0)