2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
2017-07-19 10:23:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ansicolors";
|
2018-01-07 10:01:54 +00:00
|
|
|
version = "1.1.8";
|
2017-07-19 10:23:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-07 10:01:54 +00:00
|
|
|
extension = "zip";
|
|
|
|
sha256 = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0";
|
2017-07-19 10:23:52 +00:00
|
|
|
};
|
|
|
|
|
2018-01-07 10:01:54 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/verigak/colors/";
|
2017-07-19 10:23:52 +00:00
|
|
|
description = "ANSI colors for Python";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
};
|
|
|
|
}
|