python3Packages.pycolorecho: init at 0.1.1

This commit is contained in:
Yueh-Shun Li
2024-08-18 06:09:42 +08:00
parent a84cbd3051
commit a9b277d734
@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pycolorecho";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "coldsofttech";
repo = "pycolorecho";
rev = version;
hash = "sha256-h/7Wi0x8iLMZpPYekK6W9LTM+2nYJTaKClNtRTzbmdg=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pycolorecho" ];
meta = {
description = "Simple Python package for colorized terminal output";
homepage = "https://github.com/coldsofttech/pycolorecho";
changelog = "https://github.com/coldsofttech/pycolorecho/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ShamrockLee ];
};
}