3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/protonvpn-cli-ng/default.nix

37 lines
841 B
Nix
Raw Normal View History

2020-03-04 16:32:15 +00:00
{ lib, fetchFromGitHub, python3Packages, openvpn, dialog, iptables }:
2020-01-09 22:35:00 +00:00
python3Packages.buildPythonApplication rec {
2020-03-04 16:32:15 +00:00
pname = "protonvpn-cli-ng";
version = "2.2.4";
2020-01-09 22:35:00 +00:00
src = fetchFromGitHub {
owner = "protonvpn";
2020-03-04 16:32:15 +00:00
repo = "${pname}";
2020-01-09 22:35:00 +00:00
rev = "v${version}";
sha256 = "08yca0a0prrnrc7ir7ajd56yxvxpcs4m1k8f5kf273f5whgr7wzw";
2020-01-09 22:35:00 +00:00
};
propagatedBuildInputs = (with python3Packages; [
requests
docopt
setuptools
jinja2
2020-01-09 22:35:00 +00:00
pythondialog
]) ++ [
dialog
openvpn
2020-03-04 16:32:15 +00:00
iptables
2020-01-09 22:35:00 +00:00
];
# No tests
doCheck = false;
2020-03-04 16:32:15 +00:00
meta = with lib; {
2020-01-09 22:35:00 +00:00
description = "Linux command-line client for ProtonVPN";
homepage = "https://github.com/protonvpn/protonvpn-cli-ng";
2020-03-04 16:32:15 +00:00
maintainers = with maintainers; [ jtcoolen jefflabonte ];
2020-01-09 22:35:00 +00:00
license = licenses.gpl3;
platforms = platforms.unix;
};
}