-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protonmail-bridge: 1.2.3-1 -> 1.2.6-1 #84430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the file ProtonMail_Bridge.desktop is no longer named ProtonMail_Bridge.desktop but protonmail-bridge.desktop
- this new version needs Qt_5.13 and for the moment it is not available in nixpkgs (Qt needs update to 5.14 and more maintainers #74355).
- we do not find the same sha256 for the src
@@ -2,7 +2,7 @@
, libsecret, libGL, libpulseaudio, glib, wrapQtAppsHook, mkDerivation }:
let
- version = "1.2.3-1";
+ version = "1.2.6-1";
description = ''
An application that runs on your computer in the background and seamlessly encrypts
@@ -16,7 +16,7 @@ in mkDerivation {
src = fetchurl {
url = "https://protonmail.com/download/protonmail-bridge_${version}_amd64.deb";
- sha256 = "032ggk9fvd19fbsqkzwzwh0hpyg8gpkrin71di7zsx6ias5innw1";
+ sha256 = "0iy2x9qnvhqrv6df0mjmxss9jddd64gh8wbadkn0cvrczcbwkz9l";
};
sourceRoot = ".";
@@ -55,7 +55,7 @@ in mkDerivation {
--set-rpath "${rpath}" \
$out/lib/protonmail-bridge
- substituteInPlace $out/share/applications/ProtonMail_Bridge.desktop \
+ substituteInPlace $out/share/applications/protonmail-bridge.desktop \
--replace "/usr/" "$out/" \
--replace "Exec=protonmail-bridge" "Exec=$out/bin/protonmail-bridge"
'';
Needed to lowercase the .desktop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/protonmail_bridge/protonmail-bridge/
Now awaiting an update for the qt package to update. |
We'll probably have to group the commit messages into one. |
Grouping the messages is fine by me. |
I tested the build with this pr:#84232 and modified pkgs/top-level/all-packages.nix
@@ -21348,7 +21348,7 @@ in
properties-cpp = callPackage ../development/libraries/properties-cpp { };
- protonmail-bridge = libsForQt512.callPackage ../applications/networking/protonmail-bridge { };
+ protonmail-bridge = libsForQt514.callPackage ../applications/networking/protonmail-bridge { };
protonvpn-cli = callPackage ../applications/networking/protonvpn-cli { }; 1.2.6-1 build without errors and cli works but by using X there is this message:
Maybe a QT specialist has an idea? :) |
This error has been posted at stackoverflow. Maybe adding the mentioned |
Protonmail has open-sourced the linux app for protonmail bridge. |
Why was this closed? |
A newer version was released and.. Really don't know if there is a more proper process for an outdated branch. |
@IvarWithoutBones I believe this is closed because 1) there's a newer version out but more importantly 2) ever since 1.2.4 the bridge depends on Qt 5.13 which means we have to wait for #84232 to be merged before protonmail-bridge can be updated to the latest version again |
Motivation for this change
Wanted more up to date version of package
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)