From d3d60a082a7d803ed1e2dc0f3156fb72b837be7a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Fri, 13 Aug 2021 17:06:24 +0000 Subject: [PATCH 1/2] python38Packages.click-help-colors: 0.9 -> 0.9.1 --- pkgs/development/python-modules/click-help-colors/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/click-help-colors/default.nix b/pkgs/development/python-modules/click-help-colors/default.nix index b17dc1a0c111..8fb8bdd2c828 100644 --- a/pkgs/development/python-modules/click-help-colors/default.nix +++ b/pkgs/development/python-modules/click-help-colors/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "click-help-colors"; - version = "0.9"; + version = "0.9.1"; src = fetchPypi { inherit pname version; - sha256 = "eb037a2dd95a9e20b3897c2b3ca57e7f6797f76a8d93f7eeedda7fcdcbc9b635"; + sha256 = "78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d"; }; propagatedBuildInputs = [ click ]; From e03f1bb3c44618ba43c8c2833fdb24b2e9bf8923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 27 Aug 2021 05:28:12 +0200 Subject: [PATCH 2/2] python39Packages.click-help-colors: use pytestCheckHook --- .../python-modules/click-help-colors/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/click-help-colors/default.nix b/pkgs/development/python-modules/click-help-colors/default.nix index 8fb8bdd2c828..b63788c6060c 100644 --- a/pkgs/development/python-modules/click-help-colors/default.nix +++ b/pkgs/development/python-modules/click-help-colors/default.nix @@ -1,5 +1,5 @@ { lib, fetchPypi, buildPythonPackage -, click, pytest +, click, pytestCheckHook }: buildPythonPackage rec { @@ -13,9 +13,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ click ]; - # tries to use /homeless-shelter to mimic container usage, etc - #doCheck = false; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "click_help_colors" ];