python3Packages.ansicolors: modernize
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ansicolors";
|
||||
version = "1.1.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
extension = "zip";
|
||||
sha256 = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0";
|
||||
hash = "sha256-mflPXjNIoLzUPILl/EQUATzMGdcL2TmtceATPOnDcuA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -25,10 +25,12 @@ buildPythonPackage rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "colors" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/verigak/colors/";
|
||||
description = "ANSI colors for Python";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user