Merge pull request #77407 from jtcoolen/protonvpn-cli-ng
protonvpn-cli-ng: init at 2.2.0
This commit is contained in:
commit
40bef249f1
|
@ -3510,6 +3510,16 @@
|
|||
githubId = 4611077;
|
||||
name = "Raymond Gauthier";
|
||||
};
|
||||
jtcoolen = {
|
||||
email = "jtcoolen@pm.me";
|
||||
name = "Julien Coolen";
|
||||
github = "jtcoolen";
|
||||
githubId = 54635632;
|
||||
keys = [{
|
||||
longkeyid = "rsa4096/0x19642151C218F6F5";
|
||||
fingerprint = "4C68 56EE DFDA 20FB 77E8 9169 1964 2151 C218 F6F5";
|
||||
}];
|
||||
};
|
||||
jtobin = {
|
||||
email = "jared@jtobin.io";
|
||||
github = "jtobin";
|
||||
|
|
34
pkgs/applications/networking/protonvpn-cli-ng/default.nix
Normal file
34
pkgs/applications/networking/protonvpn-cli-ng/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -20886,6 +20886,8 @@ in
|
|||
|
||||
protonvpn-cli = callPackage ../applications/networking/protonvpn-cli { };
|
||||
|
||||
protonvpn-cli-ng = callPackage ../applications/networking/protonvpn-cli-ng { };
|
||||
|
||||
ps2client = callPackage ../applications/networking/ps2client { };
|
||||
|
||||
psi = libsForQt5.callPackage ../applications/networking/instant-messengers/psi { };
|
||||
|
|
Loading…
Reference in a new issue