Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / termcolor / default.nix
blob0d40a1b44f96c5fc592b6591b6d238e42b860204
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatch-vcs
5 , hatchling
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "termcolor";
11   version = "2.3.0";
12   format = "pyproject";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-tbCPaJN/E4/pL2wIm5nx4toK5WxSt4v3B1/ZVCD9mlo=";
17   };
19   nativeBuildInputs = [
20     hatch-vcs
21     hatchling
22   ];
24   pythonImportsCheck = [
25     "termcolor"
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   meta = with lib; {
33     description = "Termcolor";
34     homepage = "https://pypi.python.org/pypi/termcolor";
35     license = licenses.mit;
36   };