mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
python310Packages.colorful: add changelog to meta
This commit is contained in:
parent
b7efc7cc2a
commit
ba48593858
1 changed files with 14 additions and 4 deletions
|
@ -2,25 +2,35 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colorful";
|
||||
version = "0.5.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# No tests in the Pypi package.
|
||||
src = fetchFromGitHub {
|
||||
owner = "timofurrer";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-fgxbj1WE9JcGt+oEcBguL0wQEWIn5toRTLWsvCFO3k8=";
|
||||
hash = "sha256-fgxbj1WE9JcGt+oEcBguL0wQEWIn5toRTLWsvCFO3k8=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"colorful"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal string styling done right, in Python.";
|
||||
description = "Library for terminal string styling";
|
||||
homepage = "https://github.com/timofurrer/colorful";
|
||||
changelog = "https://github.com/timofurrer/colorful/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kalbasit ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue