make desktop file work for protonmail desktop

This commit is contained in:
Rachel Lambda Samuelsson 2024-07-26 18:23:09 +02:00
parent 8fb3ddb0d7
commit 8416d0499d

View File

@ -1,12 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
let mainProgram = "protonmail-desktop"; let mainProgram = "proton-mail";
srcHashes = { srcHashes = {
universal-darwin = "sha256-JfZwHFp0aZtHcbP7tyG7uqFs2w+LWKfnfyuxxpxDJZ8="; universal-darwin = "sha256-JfZwHFp0aZtHcbP7tyG7uqFs2w+LWKfnfyuxxpxDJZ8=";
x86_64-linux = "sha256-En5vkTHYtwN6GMgbtyhzsPqknOPRO9KlTqZfbBFaIFQ="; x86_64-linux = "sha256-En5vkTHYtwN6GMgbtyhzsPqknOPRO9KlTqZfbBFaIFQ=";
}; };
in in
pkgs.stdenv.mkDerivation rec { pkgs.stdenv.mkDerivation rec {
pname = "protonmail-desktop"; pname = mainProgram;
version = "1.0.5"; version = "1.0.5";
nativeBuildInputs = [ nativeBuildInputs = [
pkgs.makeWrapper pkgs.makeWrapper