python310Packages.colorful: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-04 20:31:57 +01:00 committed by GitHub
parent b7efc7cc2a
commit ba48593858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};