python3Packages.sphinx-intl: init at 2.1.0

This commit is contained in:
Cody Hiar 2023-04-09 09:32:53 -06:00
parent 9bc44ccfd7
commit e9e20777cf
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, transifex-cli
, babel
, click
, setuptools
, sphinx
, pytestCheckHook
, mock
}:
buildPythonPackage rec {
pname = "sphinx-intl";
version = "2.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "sphinx-doc";
repo = pname;
rev = version;
hash = "sha256-U/YCviGrsZNruVzfP0P2dGcB0K0Afh+XUZtp71OeP6c=";
};
propagatedBuildInputs = [
babel
click
setuptools
sphinx
];
nativeCheckInputs = [
pytestCheckHook
mock
transifex-cli
];
pythonImportsCheck = [ "sphinx_intl" ];
meta = with lib; {
description = "Sphinx utility that make it easy to translate and to apply translation";
homepage = "https://github.com/sphinx-doc/sphinx-intl";
license = licenses.bsd2;
maintainers = with maintainers; [ thornycrackers ];
};
}

View File

@ -11069,6 +11069,8 @@ self: super: with self; {
sphinx-hoverxref = callPackage ../development/python-modules/sphinx-hoverxref { }; sphinx-hoverxref = callPackage ../development/python-modules/sphinx-hoverxref { };
sphinx-intl = callPackage ../development/python-modules/sphinx-intl { };
sphinx-jupyterbook-latex = callPackage ../development/python-modules/sphinx-jupyterbook-latex { }; sphinx-jupyterbook-latex = callPackage ../development/python-modules/sphinx-jupyterbook-latex { };
sphinx-multitoc-numbering = callPackage ../development/python-modules/sphinx-multitoc-numbering { }; sphinx-multitoc-numbering = callPackage ../development/python-modules/sphinx-multitoc-numbering { };