python3Packages.colorlog: 4.6.2 -> 4.7.2

This commit is contained in:
Fabian Affolter 2021-01-14 16:16:38 +01:00 committed by Jonathan Ringer
parent 5ecaaf1ba8
commit f2a260ea4a

View File

@ -1,21 +1,19 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, pytest }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "colorlog";
version = "4.6.2";
version = "4.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "54e5f153419c22afc283c130c4201db19a3dbd83221a0f4657d5ee66234a2ea4";
sha256 = "0lc2r105hxbyh29dsgczdi379lh57gnbj56jsxi5g9rqcihmpl0q";
};
checkInputs = [ pytest ];
# tests are no longer packaged in pypi
doCheck = false;
checkPhase = ''
py.test -p no:logging
'';
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "colorlog" ];