12 url = "https://github.com/ZUGFeRD/quba-viewer/releases/download/v${version}/Quba-${version}.AppImage";
13 hash = "sha256-3goMWN5GeQaLJimUKbjozJY/zJmqc9Mvy2+6bVSt1p0=";
16 appimageContents = appimageTools.extractType1 { inherit pname version src; };
18 appimageTools.wrapType1 {
19 inherit pname version src;
21 extraInstallCommands = ''
22 install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
23 substituteInPlace $out/share/applications/${pname}.desktop \
24 --replace-fail 'Exec=AppRun' 'Exec=${pname}'
25 cp -r ${appimageContents}/usr/share/icons $out/share
29 description = "Viewer for electronic invoices";
30 homepage = "https://github.com/ZUGFeRD/quba-viewer";
31 downloadPage = "https://github.com/ZUGFeRD/quba-viewer/releases";
32 license = lib.licenses.asl20;
33 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
34 maintainers = with lib.maintainers; [ onny ];
35 platforms = [ "x86_64-linux" ];