From 85239d1455c0a19b083a4ec9245a5acda4eb5d44 Mon Sep 17 00:00:00 2001 From: wisut hantanong Date: Fri, 14 Jul 2017 19:34:28 +0700 Subject: python.pkgs.ansicolor: move to separate expression --- pkgs/development/python-modules/ansicolor/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkgs/development/python-modules/ansicolor/default.nix (limited to 'pkgs/development/python-modules/ansicolor') diff --git a/pkgs/development/python-modules/ansicolor/default.nix b/pkgs/development/python-modules/ansicolor/default.nix new file mode 100644 index 000000000000..3a45811ed9b3 --- /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 ]; + }; +} -- cgit 1.4.1