diff options
author | Julien Coolen <jtcoolen@pm.me> | 2020-01-09 23:35:00 +0100 |
---|---|---|
committer | Julien Coolen <jtcoolen@pm.me> | 2020-01-17 00:58:14 +0100 |
commit | b45c4d2d88c9ca2df1e8b10df18e39551762f143 (patch) | |
tree | 0a44f7e0ea4ee85ae56d6e37f4a68b295aa133c0 /pkgs/applications/networking/protonvpn-cli-ng | |
parent | b0bbacb52134a7e731e549f4c0a7a2a39ca6b481 (diff) |
protonvpn-cli-ng: init at 2.2.0
Diffstat (limited to 'pkgs/applications/networking/protonvpn-cli-ng')
-rw-r--r-- | pkgs/applications/networking/protonvpn-cli-ng/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/networking/protonvpn-cli-ng/default.nix b/pkgs/applications/networking/protonvpn-cli-ng/default.nix new file mode 100644 index 0000000000000..03d1a665273e7 --- /dev/null +++ b/pkgs/applications/networking/protonvpn-cli-ng/default.nix @@ -0,0 +1,34 @@ +{ stdenv, lib, fetchFromGitHub, python3Packages, openvpn, dialog }: + +python3Packages.buildPythonApplication rec { + name = "protonvpn-cli-ng"; + version = "2.2.0"; + + src = fetchFromGitHub { + owner = "protonvpn"; + repo = "protonvpn-cli-ng"; + rev = "v${version}"; + sha256 = "11fvnnr5p3qdc4y10815jnydcjvxlxwkkq9kvaajg0yszq84rwkz"; + }; + + propagatedBuildInputs = (with python3Packages; [ + requests + docopt + setuptools + pythondialog + ]) ++ [ + dialog + openvpn + ]; + + # No tests + doCheck = false; + + meta = with stdenv.lib; { + description = "Linux command-line client for ProtonVPN"; + homepage = "https://github.com/protonvpn/protonvpn-cli-ng"; + maintainers = [ maintainers.jtcoolen ]; + license = licenses.gpl3; + platforms = platforms.unix; + }; +} |