nixpkgs/pkgs/development/python-modules/ansi/default.nix

22 lines
449 B
Nix
Raw Normal View History

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