depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-intl/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

46 lines
850 B
Nix

{ 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 ];
};
}