protonvpn-gui: 4.9.7 -> 4.12.0
Update the package to the latest version.
This commit is contained in:
@@ -22,14 +22,14 @@
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "protonvpn-gui";
|
pname = "protonvpn-gui";
|
||||||
version = "4.9.7";
|
version = "4.12.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ProtonVPN";
|
owner = "ProtonVPN";
|
||||||
repo = "proton-vpn-gtk-app";
|
repo = "proton-vpn-gtk-app";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-xpMXpYLLui+1bjK72VPhUT6T/sYpoqN2Jz6sczKJO5U=";
|
hash = "sha256-pDTzqTiGAisVEHwez526z9C9GzNkMWl6Cui8E6siIXo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@@ -68,7 +68,7 @@ buildPythonApplication rec {
|
|||||||
mkdir -p $out/share/{applications,pixmaps}
|
mkdir -p $out/share/{applications,pixmaps}
|
||||||
|
|
||||||
# Fix the desktop file to correctly identify the wrapped app and show the icon during runtime
|
# Fix the desktop file to correctly identify the wrapped app and show the icon during runtime
|
||||||
substitute ${src}/rpmbuild/SOURCES/protonvpn-app.desktop $out/share/applications/protonvpn-app.desktop \
|
substitute ${src}/rpmbuild/SOURCES/proton.vpn.app.gtk.desktop $out/share/applications/proton.vpn.app.gtk.desktop \
|
||||||
--replace-fail "StartupWMClass=protonvpn-app" "StartupWMClass=.protonvpn-app-wrapped"
|
--replace-fail "StartupWMClass=protonvpn-app" "StartupWMClass=.protonvpn-app-wrapped"
|
||||||
install -Dm 644 ${src}/rpmbuild/SOURCES/proton-vpn-logo.svg $out/share/pixmaps
|
install -Dm 644 ${src}/rpmbuild/SOURCES/proton-vpn-logo.svg $out/share/pixmaps
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user