1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 18:34:41 +00:00
nixpkgs/pkgs/development/python-modules/ansi/default.nix
2018-08-03 14:21:52 +02:00

22 lines
447 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "ansi";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
};
checkPhase = ''
python -c "import ansi.color"
'';
meta = with lib; {
description = "ANSI cursor movement and graphics";
homepage = https://github.com/tehmaze/ansi/;
license = licenses.mit;
};
}