pythonPackages.colorful: init at 0.5.4

Co-Authored-By: Chris <grkcharge@gmail.com>
This commit is contained in:
Wael Nasreddine 2020-06-17 09:40:07 -07:00 committed by Wael Nasreddine
parent 1be9aa3a83
commit 7c4a19b2ee
No known key found for this signature in database
GPG Key ID: FD437548E0BF0F5F
2 changed files with 29 additions and 0 deletions

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "colorful";
version = "0.5.4";
# No tests in the Pypi package.
src = fetchFromGitHub {
owner = "timofurrer";
repo = pname;
rev = "v${version}";
sha256 = "1fcz5v8b318a3dsdha4c874jsf3wmcw3f25bv2csixclyzacli98";
};
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Terminal string styling done right, in Python.";
homepage = "http://github.com/timofurrer/colorful";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}

@ -2084,6 +2084,8 @@ in {
colorclass = callPackage ../development/python-modules/colorclass {};
colorful = callPackage ../development/python-modules/colorful {};
colorlog = callPackage ../development/python-modules/colorlog { };
colorspacious = callPackage ../development/python-modules/colorspacious { };