3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.colored: add format and pythonImportsCheck

This commit is contained in:
Mario Rodas 2022-11-12 08:04:00 +00:00
parent f004a1ef80
commit b8ab9d405a

View file

@ -1,19 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "colored";
version = "1.4.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BP9NTdUUJ0/juZohu1L7lvJojAHpP7p77zciHny1bOA=";
};
# No proper test suite
doCheck = false;
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
pythonImportsCheck = [
"colored"
];
meta = with lib; {
homepage = "https://gitlab.com/dslackw/colored";