protonvpn-gui: migrate to pkgs/by-name (#456782)
This commit is contained in:
+10
-14
@@ -1,26 +1,16 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonApplication,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
gobject-introspection,
|
||||
setuptools,
|
||||
wrapGAppsHook3,
|
||||
libnotify,
|
||||
dbus-python,
|
||||
packaging,
|
||||
proton-core,
|
||||
proton-keyring-linux,
|
||||
proton-vpn-api-core,
|
||||
proton-vpn-local-agent,
|
||||
proton-vpn-network-manager,
|
||||
pycairo,
|
||||
pygobject3,
|
||||
withIndicator ? true,
|
||||
libappindicator-gtk3,
|
||||
libayatana-appindicator,
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "protonvpn-gui";
|
||||
version = "4.12.0";
|
||||
pyproject = true;
|
||||
@@ -48,11 +38,11 @@ buildPythonApplication rec {
|
||||
libayatana-appindicator
|
||||
];
|
||||
|
||||
build-system = [
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
dependencies = with python3Packages; [
|
||||
dbus-python
|
||||
packaging
|
||||
proton-core
|
||||
@@ -64,6 +54,12 @@ buildPythonApplication rec {
|
||||
pygobject3
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/{applications,pixmaps}
|
||||
|
||||
@@ -11889,8 +11889,6 @@ with pkgs;
|
||||
// (config.profanity or { })
|
||||
);
|
||||
|
||||
protonvpn-gui = python3Packages.callPackage ../applications/networking/protonvpn-gui { };
|
||||
|
||||
psi = libsForQt5.callPackage ../applications/networking/instant-messengers/psi { };
|
||||
|
||||
psi-plus = libsForQt5.callPackage ../applications/networking/instant-messengers/psi-plus { };
|
||||
|
||||
Reference in New Issue
Block a user