protonvpn-cli_2: init at 2.2.11

Naming as protonvpn-cli_2 as this version uses openvpn to perform connections instead of NetworkManager as on the official version

+52
+51
pkgs/applications/networking/protonvpn-cli/2.nix
···
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , requests 6 + , docopt 7 + , pythondialog 8 + , jinja2 9 + , distro 10 + , dialog 11 + , iptables 12 + , openvpn }: 13 + 14 + buildPythonApplication rec { 15 + pname = "protonvpn-cli_2"; 16 + version = "2.2.11"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.5"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "Rafficer"; 23 + repo = "linux-cli-community"; 24 + # There is a tag and branch with the same name 25 + rev = "refs/tags/v${version}"; 26 + sha256 = "sha256-CWQpisJPBXbf+d5tCGuxfSQQZBeF36WFF4b6OSUn3GY="; 27 + }; 28 + 29 + propagatedBuildInputs = [ 30 + requests 31 + docopt 32 + pythondialog 33 + jinja2 34 + distro 35 + dialog 36 + openvpn 37 + iptables 38 + ]; 39 + 40 + # No tests 41 + doCheck = false; 42 + 43 + meta = with lib; { 44 + description = "Linux command-line client for ProtonVPN using Openvpn"; 45 + homepage = "https://github.com/Rafficer/linux-cli-community"; 46 + maintainers = with maintainers; [ jtcoolen jefflabonte shamilton ]; 47 + license = licenses.gpl3Plus; 48 + platforms = platforms.linux; 49 + mainProgram = "protonvpn"; 50 + }; 51 + }
+1
pkgs/top-level/all-packages.nix
··· 29023 protonmail-bridge = callPackage ../applications/networking/protonmail-bridge { }; 29024 29025 protonvpn-cli = python3Packages.callPackage ../applications/networking/protonvpn-cli { }; 29026 29027 protonvpn-gui = python3Packages.callPackage ../applications/networking/protonvpn-gui { }; 29028
··· 29023 protonmail-bridge = callPackage ../applications/networking/protonmail-bridge { }; 29024 29025 protonvpn-cli = python3Packages.callPackage ../applications/networking/protonvpn-cli { }; 29026 + protonvpn-cli_2 = python3Packages.callPackage ../applications/networking/protonvpn-cli/2.nix { }; 29027 29028 protonvpn-gui = python3Packages.callPackage ../applications/networking/protonvpn-gui { }; 29029