2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, transifex-cli
|
|
|
|
, babel
|
|
|
|
, click
|
|
|
|
, setuptools
|
|
|
|
, sphinx
|
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-intl";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.2.0";
|
|
|
|
format = "pyproject";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sphinx-doc";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-4sFKrUSk8DqPbEM+Q3cRijXyxRSIdkIEAI/mAmB0wB0=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|