9 stdenvNoCC.mkDerivation (finalAttrs: {
10 pname = "proton-pass";
14 url = "https://proton.me/download/pass/linux/x64/proton-pass_${finalAttrs.version}_amd64.deb";
15 hash = "sha256-ewrPk3v1jgF87uY+7P8oQdWARcuFKdfiM1BzulMPBpg=";
29 cp -r usr/share/ $out/
30 cp -r usr/lib/proton-pass/resources/app.asar $out/share/
35 makeWrapper ${lib.getExe electron} $out/bin/proton-pass \
36 --add-flags $out/share/app.asar \
37 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
38 --set-default ELECTRON_FORCE_IS_PACKAGED 1 \
39 --set-default ELECTRON_IS_DEV 0 \
44 description = "Desktop application for Proton Pass";
45 homepage = "https://proton.me/pass";
46 license = lib.licenses.gpl3Plus;
47 maintainers = with lib.maintainers; [
52 platforms = [ "x86_64-linux" ];
53 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
54 mainProgram = "proton-pass";