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