python3Packages.ansicolors: modernize

This commit is contained in:
Harinn
2026-06-04 19:17:01 +07:00
parent ff9c4a84b3
commit 84ba23bef9
@@ -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 = [ ];
};
}
})