1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "ansi";
5 version = "0.1.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
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}