wasabiwallet: 1.1.5 -> 1.1.6
This commit is contained in:
parent
88825bbbde
commit
2a44aebb9f
@ -2,37 +2,37 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wasabiwallet";
|
pname = "wasabiwallet";
|
||||||
version = "1.1.5";
|
version = "1.1.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/WasabiLinux-${version}.tar.gz";
|
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/WasabiLinux-${version}.tar.gz";
|
||||||
sha256 = "1iq7qkpq073yq1bz8pam4cbm2myznhpjr3g9afblvmxwgbdjxak0";
|
sha256 = "1i7fhaj9chjlm7qg0h3azy4djnm9rxskbr3dzjj0n9rw8cjdqyq6";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "wasabi";
|
name = "wasabi";
|
||||||
exec = "wasabiwallet";
|
exec = "wasabiwallet";
|
||||||
desktopName = "Wasabi";
|
desktopName = "Wasabi";
|
||||||
genericName = "Bitcoin wallet";
|
genericName = "Bitcoin wallet";
|
||||||
comment = meta.description;
|
comment = meta.description;
|
||||||
categories = "Application;Network;Utility;";
|
categories = "Application;Network;Utility;";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/opt/${pname} $out/bin $out/share/applications
|
mkdir -p $out/opt/${pname} $out/bin $out/share/applications
|
||||||
cp -Rv . $out/opt/${pname}
|
cp -Rv . $out/opt/${pname}
|
||||||
cd $out/opt/${pname}
|
cd $out/opt/${pname}
|
||||||
for i in $(find . -type f -name '*.so') wassabee
|
for i in $(find . -type f -name '*.so') wassabee
|
||||||
do
|
do
|
||||||
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ openssl stdenv.cc.cc.lib xorg.libX11 curl fontconfig.lib krb5 zlib dotnet-sdk ]} $i
|
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ openssl stdenv.cc.cc.lib xorg.libX11 curl fontconfig.lib krb5 zlib dotnet-sdk ]} $i
|
||||||
done
|
done
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" wassabee
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" wassabee
|
||||||
ln -s $out/opt/${pname}/wassabee $out/bin/${pname}
|
ln -s $out/opt/${pname}/wassabee $out/bin/${pname}
|
||||||
cp -v $desktopItem/share/applications/* $out/share/applications
|
cp -v $desktopItem/share/applications/* $out/share/applications
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Privacy focused Bitcoin wallet";
|
description = "Privacy focused Bitcoin wallet";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user