Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rich-click / default.nix
blob6aad6e5279752d4817de59445abd572e26515e1e
1 { lib
2 , buildPythonPackage
3 , click
4 , fetchFromGitHub
5 , pythonOlder
6 , rich
7 , typer
8 , typing-extensions
9 }:
11 buildPythonPackage rec {
12   pname = "rich-click";
13   version = "1.7.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "ewels";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-rWVJEuJx5nDUg6RvhubHu9U2Glilrkugjg28SpFIZys=";
23   };
25   propagatedBuildInputs = [
26     click
27     rich
28     typing-extensions
29   ];
31   # Module has no test
32   doCheck = false;
34   pythonImportsCheck = [
35     "rich_click"
36   ];
38   meta = with lib; {
39     description = "Module to format click help output nicely with rich";
40     homepage = "https://github.com/ewels/rich-click";
41     changelog = "https://github.com/ewels/rich-click/blob/v${version}/CHANGELOG.md";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };