10 name = "${pname}-${version}";
13 url = "https://github.com/ZUGFeRD/quba-viewer/releases/download/v${version}/Quba-${version}.AppImage";
14 hash = "sha256-EsTF7W1np5qbQQh3pdqsFe32olvGK3AowGWjqHPEfoM=";
17 appimageContents = appimageTools.extractType1 { inherit name src; };
19 appimageTools.wrapType1 {
22 extraInstallCommands = ''
23 mv $out/bin/${name} $out/bin/${pname}
24 install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
25 substituteInPlace $out/share/applications/${pname}.desktop \
26 --replace-fail 'Exec=AppRun' 'Exec=${pname}'
27 cp -r ${appimageContents}/usr/share/icons $out/share
31 description = "Viewer for electronic invoices";
32 homepage = "https://github.com/ZUGFeRD/quba-viewer";
33 downloadPage = "https://github.com/ZUGFeRD/quba-viewer/releases";
34 license = lib.licenses.asl20;
35 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
36 maintainers = with lib.maintainers; [ onny ];
37 platforms = [ "x86_64-linux" ];