nixpkgs/pkgs/applications/blockchains/zecwallet-lite/default.nix
colin 98804884af zecwallet-lite: 1.7.13 -> 1.8.8
also fix the .desktop file to reference zecwallet-lite by fully-qualified path.

abbrieviated change-log:
- sync improvements (save sync progress; faster syncs)
- full support for Orchard transactions
- full support for Orchard pool
- experimental support for Zebra-backed LightwalletD
- add spam filtering options

complete release notes
[here](https://github.com/adityapk00/zecwallet-lite/releases)
2022-09-28 16:04:16 -07:00

31 lines
1.0 KiB
Nix

{ lib, fetchurl, appimageTools }:
appimageTools.wrapType2 rec {
pname = "zecwallet-lite";
version = "1.8.8";
src = fetchurl {
url = "https://github.com/adityapk00/zecwallet-lite/releases/download/v${version}/Zecwallet.Lite-${version}.AppImage";
hash = "sha256-6jppP3V7R8tCR5Wv5UWfbWKkAdsgrCjSiO/bbpLNcw4=";
};
extraInstallCommands =
let contents = appimageTools.extract { inherit pname version src; };
in ''
mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${contents}/zecwallet-lite.desktop -t $out/share/applications
substituteInPlace $out/share/applications/zecwallet-lite.desktop \
--replace 'Exec=AppRun' "Exec=$out/bin/zecwallet-lite"
cp -r ${contents}/usr/share/icons $out/share
'';
meta = with lib; {
description = "A fully featured shielded wallet for Zcash";
homepage = "https://www.zecwallet.co/";
license = licenses.mit;
maintainers = with maintainers; [ colinsane ];
platforms = [ "x86_64-linux" ];
};
}