Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 pythonOlder, 6 requests, 7 docopt, 8 pythondialog, 9 jinja2, 10 distro, 11 dialog, 12 iptables, 13 openvpn, 14}: 15 16buildPythonApplication rec { 17 pname = "protonvpn-cli_2"; 18 version = "2.2.12"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.5"; 22 23 src = fetchFromGitHub { 24 owner = "Rafficer"; 25 repo = "linux-cli-community"; 26 # There is a tag and branch with the same name 27 rev = "refs/tags/v${version}"; 28 sha256 = "sha256-vNbqjdkIRK+MkYRKUUe7W5Ytc1PU1t5ZLr9fPDOZXUs="; 29 }; 30 31 propagatedBuildInputs = [ 32 requests 33 docopt 34 pythondialog 35 jinja2 36 distro 37 dialog 38 openvpn 39 iptables 40 ]; 41 42 # No tests 43 doCheck = false; 44 45 meta = with lib; { 46 description = "Linux command-line client for ProtonVPN using Openvpn"; 47 homepage = "https://github.com/Rafficer/linux-cli-community"; 48 maintainers = with maintainers; [ 49 jtcoolen 50 jefflabonte 51 shamilton 52 ]; 53 license = licenses.gpl3Plus; 54 platforms = platforms.linux; 55 mainProgram = "protonvpn"; 56 }; 57}