anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / colorful / default.nix
blob4a1a340136f47df4ad5f4b328b3ceb83fcc859c7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "colorful";
11   version = "0.5.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "timofurrer";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     hash = "sha256-8rHJIsHiyfjmjlGiEyrzvEwKgi1kP4Njm731mlFDMIU=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "colorful" ];
27   meta = with lib; {
28     description = "Library for terminal string styling";
29     homepage = "https://github.com/timofurrer/colorful";
30     changelog = "https://github.com/timofurrer/colorful/releases/tag/v${version}";
31     license = licenses.mit;
32     maintainers = with maintainers; [ kalbasit ];
33   };