Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 hatchling,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "colorama";
11 version = "0.4.6";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44";
17 };
18
19 nativeBuildInputs = [ hatchling ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "colorama" ];
24
25 meta = {
26 description = "Cross-platform colored terminal text";
27 homepage = "https://github.com/tartley/colorama";
28 changelog = "https://github.com/tartley/colorama/raw/${version}/CHANGELOG.rst";
29 license = lib.licenses.bsd3;
30 maintainers = [ ];
31 };
32}