1{ lib, fetchPypi, buildPythonPackage, hatchling, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "colorama";
5 version = "0.4.6";
6 format = "pyproject";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44";
11 };
12
13 nativeBuildInputs = [ hatchling ];
14
15 nativeCheckInputs = [ pytestCheckHook ];
16
17 pythonImportsCheck = [ "colorama" ];
18
19 meta = with lib; {
20 description = "Cross-platform colored terminal text";
21 homepage = "https://github.com/tartley/colorama";
22 changelog = "https://github.com/tartley/colorama/raw/${version}/CHANGELOG.rst";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ ];
25 };
26}