2018-08-03 13:21:52 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2017-12-24 04:40:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ansi";
|
|
|
|
version = "0.1.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
python -c "import ansi.color"
|
|
|
|
'';
|
2018-08-03 13:21:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ANSI cursor movement and graphics";
|
|
|
|
homepage = https://github.com/tehmaze/ansi/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2017-12-24 04:40:02 +00:00
|
|
|
}
|