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