2018-08-03 14:21:52 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2017-12-24 05:40:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ansi";
|
2021-01-15 16:37:03 +01:00
|
|
|
version = "0.2.0";
|
2017-12-24 05:40:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-15 16:37:03 +01:00
|
|
|
sha256 = "98e9b27c4bb187867a69480cbc63b843331622fec7e7d090873d806e1b5d8a80";
|
2017-12-24 05:40:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
python -c "import ansi.color"
|
|
|
|
'';
|
2018-08-03 14:21:52 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ANSI cursor movement and graphics";
|
2020-04-06 15:44:49 +02:00
|
|
|
homepage = "https://github.com/tehmaze/ansi/";
|
2018-08-03 14:21:52 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2017-12-24 05:40:02 +01:00
|
|
|
}
|