mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
53bee280a7
Changed version number and added Jinja2 to propagatedBuildInputs.
37 lines
841 B
Nix
37 lines
841 B
Nix
{ lib, fetchFromGitHub, python3Packages, openvpn, dialog, iptables }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "protonvpn-cli-ng";
|
|
version = "2.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "protonvpn";
|
|
repo = "${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "08yca0a0prrnrc7ir7ajd56yxvxpcs4m1k8f5kf273f5whgr7wzw";
|
|
};
|
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
|
requests
|
|
docopt
|
|
setuptools
|
|
jinja2
|
|
pythondialog
|
|
]) ++ [
|
|
dialog
|
|
openvpn
|
|
iptables
|
|
];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Linux command-line client for ProtonVPN";
|
|
homepage = "https://github.com/protonvpn/protonvpn-cli-ng";
|
|
maintainers = with maintainers; [ jtcoolen jefflabonte ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|