Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sphinx-intl / default.nix
blob1fdf937ae65048b6f1de6afe4584f66b6b2b922d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , transifex-cli
5 , babel
6 , click
7 , setuptools
8 , sphinx
9 , pytestCheckHook
10 , mock
13 buildPythonPackage rec {
14   pname = "sphinx-intl";
15   version = "2.1.0";
16   format = "setuptools";
18  src = fetchFromGitHub {
19     owner = "sphinx-doc";
20     repo = pname;
21     rev = version;
22     hash = "sha256-U/YCviGrsZNruVzfP0P2dGcB0K0Afh+XUZtp71OeP6c=";
23   };
25   propagatedBuildInputs = [
26     babel
27     click
28     setuptools
29     sphinx
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     mock
35     transifex-cli
36   ];
38   pythonImportsCheck = [ "sphinx_intl" ];
40   meta = with lib; {
41     description = "Sphinx utility that make it easy to translate and to apply translation";
42     homepage = "https://github.com/sphinx-doc/sphinx-intl";
43     license = licenses.bsd2;
44     maintainers = with maintainers; [ thornycrackers ];
45   };