protonmail-bridge: 1.5.0 -> 1.6.9 (#117814)

This commit is contained in:
thyol 2021-04-02 19:53:38 +02:00 committed by GitHub
parent 74b630775f
commit 33e7d7907e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,34 +2,43 @@
buildGoModule rec {
pname = "protonmail-bridge";
version = "1.5.0";
version = "1.6.9";
src = fetchFromGitHub {
owner = "ProtonMail";
repo = "proton-bridge";
rev = "br-${version}";
sha256 = "lHqwKlFwz9iO7LJMGFTGCauw12z/BKnQte2sVoVkOaY=";
sha256 = "0p2315smxc5knxzr9413w62z65647znh9j9vyb6w5x4dqfp7vhz9";
};
vendorSha256 = "eP+7fqBctX9XLCoHVJDI/qaa5tocgg3F5nfUM6dzNRg=";
vendorSha256 = "04aa7syp5hhpqxdpqlsmmbwywnbrh4ia0diym2935jbrqccnvm1k";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsecret ];
buildPhase = ''
make BUILD_TIME= build-nogui
runHook preBuild
patchShebangs ./utils/
make BUILD_TIME= -j$NIX_BUILD_CORES build-nogui
runHook postBuild
'';
installPhase = ''
install -Dm555 Desktop-Bridge $out/bin/protonmail-bridge
runHook preInstall
install -Dm555 proton-bridge $out/bin/protonmail-bridge
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/ProtonMail/proton-bridge";
changelog = "https://github.com/ProtonMail/proton-bridge/blob/master/Changelog.md";
downloadPage = "https://github.com/ProtonMail/proton-bridge/releases";
license = licenses.gpl3;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ lightdiscord ];
description = "Use your ProtonMail account with your local e-mail client";
longDescription = ''