Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 449 B view raw
1{ lib, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "ansi"; 5 version = "0.1.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "02sknsbx55r6nylznslmmzzkfi3rsw7akpyzi6f1bqvr2ila8p0f"; 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}