python312Packages.print-color: init at 0.4.6

Module to print color messages in the terminal

https://github.com/xy3/print-color
This commit is contained in:
Fabian Affolter
2024-08-06 14:36:58 +02:00
parent 2a38dd5446
commit 55f60e8908
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "print-color";
version = "0.4.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "xy3";
repo = "print-color";
rev = "refs/tags/v${version}";
hash = "sha256-PHPbzzWG7smEsoTFYFT2tgXfCxUYjevpB9rxG2bZVy4=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "print_color" ];
meta = with lib; {
description = "Module to print color messages in the terminal";
homepage = "https://github.com/xy3/print-color";
changelog = "https://github.com/xy3/print-color/releases/tag/v${version}";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -10191,6 +10191,8 @@ self: super: with self; {
ppk2-api = callPackage ../development/python-modules/ppk2-api { };
print-color = callPackage ../development/python-modules/print-color { };
private-gpt = callPackage ../development/python-modules/private-gpt { };
prodict = callPackage ../development/python-modules/prodict { };