From c0ce6d0d028a9c428c7d313fc020a136f792abdf Mon Sep 17 00:00:00 2001 From: Jeff Labonte Date: Wed, 4 Mar 2020 11:32:15 -0500 Subject: [PATCH] protonvpn-cli-ng: 2.2.0 -> 2.2.2 Some changes were made after final review of the package. There was a missing runtime dependency that was discovered after merge of the backport (cherry picked from commit 9fe4a634c1f3171b356d2fe986deab1b2d5ceda4) Reason: The dependency can make the package work or not --- .../networking/protonvpn-cli-ng/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/protonvpn-cli-ng/default.nix b/pkgs/applications/networking/protonvpn-cli-ng/default.nix index 8bddeb9e0a2b3..e62bc21ab5b8e 100644 --- a/pkgs/applications/networking/protonvpn-cli-ng/default.nix +++ b/pkgs/applications/networking/protonvpn-cli-ng/default.nix @@ -1,12 +1,12 @@ -{ stdenv, lib, fetchFromGitHub, python3Packages, openvpn, dialog }: +{ lib, fetchFromGitHub, python3Packages, openvpn, dialog, iptables }: python3Packages.buildPythonApplication rec { - name = "protonvpn-cli-ng"; + pname = "protonvpn-cli-ng"; version = "2.2.2"; src = fetchFromGitHub { owner = "protonvpn"; - repo = "protonvpn-cli-ng"; + repo = "${pname}"; rev = "v${version}"; sha256 = "0ixjb02kj4z79whm1izd8mrn2h0rp9cmw4im1qvp93rahqxdd4n8"; }; @@ -19,15 +19,16 @@ python3Packages.buildPythonApplication rec { ]) ++ [ dialog openvpn + iptables ]; # No tests doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "Linux command-line client for ProtonVPN"; homepage = "https://github.com/protonvpn/protonvpn-cli-ng"; - maintainers = [ maintainers.jtcoolen maintainers.jefflabonte ]; + maintainers = with maintainers; [ jtcoolen jefflabonte ]; license = licenses.gpl3; platforms = platforms.unix; };