kdePackages.kirigami-addons: 1.5.0 -> 1.6.0 (#360539)
[NixPkgs.git] / pkgs / development / python-modules / tcolorpy / default.nix
blobf807ca1bf08a00986c406577a600ede6ab7c1f68
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   pytestCheckHook,
6   setuptools,
7   setuptools-scm,
8 }:
10 buildPythonPackage rec {
11   pname = "tcolorpy";
12   version = "0.1.6";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "thombashi";
17     repo = pname;
18     rev = "refs/tags/v${version}";
19     hash = "sha256-esucU+So1YKzkuMt6ICCrQ5SzQVv24lh12SE1Jl5Y/w=";
20   };
22   build-system = [
23     setuptools
24     setuptools-scm
25   ];
27   pythonImportsCheck = [ "tcolorpy" ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   meta = with lib; {
32     homepage = "https://github.com/thombashi/tcolorpy";
33     description = "Library to apply true color for terminal text";
34     maintainers = with maintainers; [ genericnerdyusername ];
35     license = licenses.mit;
36   };