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