From a852d39ddafd461d6ae049ec41024c8ebdc029aa Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Tue, 8 Aug 2017 01:02:38 +1000 Subject: [PATCH] zabbix-cli: 1.6.1 -> 1.7.0 --- pkgs/tools/misc/zabbix-cli/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/zabbix-cli/default.nix b/pkgs/tools/misc/zabbix-cli/default.nix index 77c06ea1911d..f56f680c9ebb 100644 --- a/pkgs/tools/misc/zabbix-cli/default.nix +++ b/pkgs/tools/misc/zabbix-cli/default.nix @@ -4,15 +4,20 @@ let in pythonPackages.buildPythonApplication rec { name = "zabbix-cli-${version}"; - version = "1.6.1"; + version = "1.7.0"; - propagatedBuildInputs = with pythonPackages; [ argparse requests ]; + propagatedBuildInputs = with pythonPackages; [ ipaddr requests ]; + + # argparse is part of the standardlib + prePatch = '' + substituteInPlace setup.py --replace "'argparse'," "" + ''; src = fetchFromGitHub { owner = "usit-gd"; repo = "zabbix-cli"; rev = version; - sha256 = "17ip3s8ifgj264zwxrr857wk02xmzmlsjrr613mdhkgdwizqbcs3"; + sha256 = "0z33mv8xk0h72rn0iz1qrrkyz63w6cln8d5hqqddcvkxwnq0z6kx"; }; meta = with lib; {