Loading pkgs/by-name/pr/proton-vpn-cli/package.nix 0 → 100644 +71 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, python3Packages, gobject-introspection, libnotify, wrapGAppsNoGuiHook, }: python3Packages.buildPythonApplication rec { pname = "proton-vpn-cli"; version = "0.1.3"; pyproject = true; src = fetchFromGitHub { owner = "ProtonVPN"; repo = "proton-vpn-cli"; tag = "v${version}"; hash = "sha256-Hn7xLb7VWa2dlsrQnjnRgv+8UntOwDak9+rV1HF7k80="; }; nativeBuildInputs = [ # Needed for the NM namespace gobject-introspection wrapGAppsNoGuiHook ]; buildInputs = [ libnotify # gir typelib is used ]; build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ click dbus-fast packaging proton-core proton-keyring-linux proton-vpn-api-core proton-vpn-local-agent ]; dontWrapGApps = true; preFixup = '' makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; preCheck = '' # Needed for Permission denied: '/homeless-shelter' export HOME=$(mktemp -d) export XDG_RUNTIME_DIR=$(mktemp -d) ''; nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-asyncio pytest-cov-stub ]; meta = { description = "Official ProtonVPN CLI Linux app"; homepage = "https://github.com/ProtonVPN/proton-vpn-cli"; license = lib.licenses.gpl3Plus; mainProgram = "protonvpn"; maintainers = with lib.maintainers; [ anthonyroussel ]; }; } pkgs/top-level/aliases.nix +2 −2 Original line number Diff line number Diff line Loading @@ -1350,8 +1350,8 @@ mapAliases { proton-caller = throw "'proton-caller' has been removed from nixpkgs due to being unmaintained and lack of upstream maintenance."; # Added 2025-09-25 proton-vpn-local-agent = throw "'proton-vpn-local-agent' has been renamed to 'python3Packages.proton-vpn-local-agent'"; # Converted to throw 2025-10-26 protonup = throw "'protonup' has been renamed to/replaced by 'protonup-ng'"; # Converted to throw 2025-10-27 protonvpn-cli = throw "protonvpn-cli source code was removed from upstream. Use protonvpn-gui instead."; # Added 2025-10-16 protonvpn-cli_2 = throw "protonvpn-cli_2 has been removed due to being deprecated. Use protonvpn-gui instead."; # Added 2025-10-16 protonvpn-cli = throw "protonvpn-cli source code was removed from upstream. Use proton-vpn-cli instead."; # Added 2025-10-16 protonvpn-cli_2 = throw "protonvpn-cli_2 has been removed due to being deprecated. Use proton-vpn-cli instead."; # Added 2025-10-16 proxmark3-rrg = throw "'proxmark3-rrg' has been renamed to/replaced by 'proxmark3'"; # Converted to throw 2025-10-27 pscid = throw "'pscid' has been removed because it was unmaintained upstream"; # Added 2025-12-12 pulp = throw "'pulp' has been removed because it was unmaintained upstream"; # Added 2025-12-12 Loading Loading
pkgs/by-name/pr/proton-vpn-cli/package.nix 0 → 100644 +71 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, python3Packages, gobject-introspection, libnotify, wrapGAppsNoGuiHook, }: python3Packages.buildPythonApplication rec { pname = "proton-vpn-cli"; version = "0.1.3"; pyproject = true; src = fetchFromGitHub { owner = "ProtonVPN"; repo = "proton-vpn-cli"; tag = "v${version}"; hash = "sha256-Hn7xLb7VWa2dlsrQnjnRgv+8UntOwDak9+rV1HF7k80="; }; nativeBuildInputs = [ # Needed for the NM namespace gobject-introspection wrapGAppsNoGuiHook ]; buildInputs = [ libnotify # gir typelib is used ]; build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ click dbus-fast packaging proton-core proton-keyring-linux proton-vpn-api-core proton-vpn-local-agent ]; dontWrapGApps = true; preFixup = '' makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; preCheck = '' # Needed for Permission denied: '/homeless-shelter' export HOME=$(mktemp -d) export XDG_RUNTIME_DIR=$(mktemp -d) ''; nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-asyncio pytest-cov-stub ]; meta = { description = "Official ProtonVPN CLI Linux app"; homepage = "https://github.com/ProtonVPN/proton-vpn-cli"; license = lib.licenses.gpl3Plus; mainProgram = "protonvpn"; maintainers = with lib.maintainers; [ anthonyroussel ]; }; }
pkgs/top-level/aliases.nix +2 −2 Original line number Diff line number Diff line Loading @@ -1350,8 +1350,8 @@ mapAliases { proton-caller = throw "'proton-caller' has been removed from nixpkgs due to being unmaintained and lack of upstream maintenance."; # Added 2025-09-25 proton-vpn-local-agent = throw "'proton-vpn-local-agent' has been renamed to 'python3Packages.proton-vpn-local-agent'"; # Converted to throw 2025-10-26 protonup = throw "'protonup' has been renamed to/replaced by 'protonup-ng'"; # Converted to throw 2025-10-27 protonvpn-cli = throw "protonvpn-cli source code was removed from upstream. Use protonvpn-gui instead."; # Added 2025-10-16 protonvpn-cli_2 = throw "protonvpn-cli_2 has been removed due to being deprecated. Use protonvpn-gui instead."; # Added 2025-10-16 protonvpn-cli = throw "protonvpn-cli source code was removed from upstream. Use proton-vpn-cli instead."; # Added 2025-10-16 protonvpn-cli_2 = throw "protonvpn-cli_2 has been removed due to being deprecated. Use proton-vpn-cli instead."; # Added 2025-10-16 proxmark3-rrg = throw "'proxmark3-rrg' has been renamed to/replaced by 'proxmark3'"; # Converted to throw 2025-10-27 pscid = throw "'pscid' has been removed because it was unmaintained upstream"; # Added 2025-12-12 pulp = throw "'pulp' has been removed because it was unmaintained upstream"; # Added 2025-12-12 Loading