Merge pull request #77407 from jtcoolen/protonvpn-cli-ng

protonvpn-cli-ng: init at 2.2.0
This commit is contained in:
worldofpeace 2020-01-16 20:03:39 -05:00 committed by GitHub
commit 40bef249f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

View File

@ -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";

View 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;
};
}

View File

@ -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 { };