diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-07-14 19:34:28 +0700 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-07-15 17:40:54 +0100 |
commit | 85239d1455c0a19b083a4ec9245a5acda4eb5d44 (patch) | |
tree | 15b7725ac2d874ccf7d2763ad3da413153d7c272 /pkgs/development/python-modules/ansicolor | |
parent | 2d546a98e2d70e7a7836b038102f48f55f674b98 (diff) |
python.pkgs.ansicolor: move to separate expression
Diffstat (limited to 'pkgs/development/python-modules/ansicolor')
-rw-r--r-- | pkgs/development/python-modules/ansicolor/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ansicolor/default.nix b/pkgs/development/python-modules/ansicolor/default.nix new file mode 100644 index 0000000000000..3a45811ed9b3b --- /dev/null +++ b/pkgs/development/python-modules/ansicolor/default.nix @@ -0,0 +1,19 @@ +{ stdenv, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "ansicolor"; + version = "0.2.4"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0zlkk9706xn5yshwzdn8xsfkim8iv44zsl6qjwg2f4gn62rqky1h"; + }; + + meta = with stdenv.lib; { + homepage = "https://github.com/numerodix/ansicolor/"; + description = "A library to produce ansi color output and colored highlighting and diffing"; + license = licenses.asl20; + maintainers = with maintainers; [ andsild ]; + }; +} |