mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
python3Packages.sphinx-intl: init at 2.1.0
This commit is contained in:
parent
9bc44ccfd7
commit
e9e20777cf
46
pkgs/development/python-modules/sphinx-intl/default.nix
Normal file
46
pkgs/development/python-modules/sphinx-intl/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user