pythonPackages.colorclass: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 12:21:11 +02:00 committed by Frederik Rietdijk
parent cbc5202c1b
commit ece5086d0e
2 changed files with 21 additions and 19 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "colorclass";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b";
};
# No tests in archive
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/Robpol86/colorclass;
license = licenses.mit;
description = "Automatic support for console colors";
};
}

View File

@ -1119,25 +1119,7 @@ in {
circus = callPackage ../development/python-modules/circus {};
colorclass = buildPythonPackage rec {
pname = "colorclass";
version = "2.2.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b";
};
# No tests in archive
doCheck = false;
meta = {
homepage = "https://github.com/Robpol86/colorclass";
license = licenses.mit;
description = "Automatic support for console colors";
};
};
colorclass = callPackage ../development/python-modules/colorclass {};
colorlog = callPackage ../development/python-modules/colorlog { };