Commit bc4cf330 authored by Anthony ROUSSEL's avatar Anthony ROUSSEL
Browse files

protonvpn-cli: remove

protonvpn-cli source code was removed from upstream.
Use protonvpn-gui instead.

https://github.com/protonvpn/linux-cli is now 404
parent 9fb696e1
Loading
Loading
Loading
Loading
+0 −60
Original line number Diff line number Diff line
{
  lib,
  buildPythonApplication,
  pythonOlder,
  fetchFromGitHub,
  protonvpn-nm-lib,
  pythondialog,
  dialog,
  wrapGAppsNoGuiHook,
  gobject-introspection,
  glib,
}:

buildPythonApplication rec {
  pname = "protonvpn-cli";
  version = "3.13.0";
  format = "setuptools";

  disabled = pythonOlder "3.5";

  src = fetchFromGitHub {
    owner = "protonvpn";
    repo = "linux-cli";
    tag = version;
    sha256 = "sha256-KhfogC23i7THe6YZJ6Sy1+q83vZupHsS69NurHCeo8I=";
  };

  nativeBuildInputs = [
    wrapGAppsNoGuiHook
    gobject-introspection
  ];

  buildInputs = [
    glib
  ];

  propagatedBuildInputs = [
    protonvpn-nm-lib
    pythondialog
    dialog
  ];

  dontWrapGApps = true;

  makeWrapperArgs = [
    "\${gappsWrapperArgs[@]}"
  ];

  # Project has a dummy test
  doCheck = false;

  meta = with lib; {
    description = "Linux command-line client for ProtonVPN";
    homepage = "https://github.com/protonvpn/linux-cli";
    maintainers = [ ];
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    mainProgram = "protonvpn-cli";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -2209,6 +2209,7 @@ mapAliases {
  protobuf3_21 = protobuf_21; # Added 2023-10-05
  protoc-gen-connect-es = throw "'protoc-gen-connect-es' has been removed because it is deprecated upstream. Functionality has been integrated into 'protoc-gen-es' v2."; # Added 2025-02-18
  protonup = protonup-ng; # Added 2022-11-06
  protonvpn-cli = throw "protonvpn-cli source code was removed from upstream. Use protonvpn-gui instead."; # Added 2025-10-16
  protonvpn-gui_legacy = throw "protonvpn-gui_legacy source code was removed from upstream. Use protonvpn-gui instead."; # Added 2024-10-12
  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 = lib.warnOnInstantiate "'proton-vpn-local-agent' has been renamed to 'python3Packages.proton-vpn-local-agent'" (
+0 −1
Original line number Diff line number Diff line
@@ -12213,7 +12213,6 @@ with pkgs;
    // (config.profanity or { })
  );

  protonvpn-cli = python3Packages.callPackage ../applications/networking/protonvpn-cli { };
  protonvpn-cli_2 = python3Packages.callPackage ../applications/networking/protonvpn-cli/2.nix { };

  protonvpn-gui = python3Packages.callPackage ../applications/networking/protonvpn-gui { };