1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "ansi";
5 version = "0.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "98e9b27c4bb187867a69480cbc63b843331622fec7e7d090873d806e1b5d8a80";
10 };
11
12 checkPhase = ''
13 python -c "import ansi.color"
14 '';
15
16 meta = with lib; {
17 description = "ANSI cursor movement and graphics";
18 homepage = "https://github.com/tehmaze/ansi/";
19 license = licenses.mit;
20 };
21}