depot/third_party/nixpkgs/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

40 lines
672 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, requests
, pytestCheckHook
, mock
, sphinx
}:
buildPythonPackage rec {
pname = "readthedocs-sphinx-ext";
version = "2.2.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7l/VuZ258MGAsjlsvOUoqjZnGVG5UmuwJy2/zlUXvSc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
];
nativeCheckInputs = [
pytestCheckHook
mock
sphinx
];
meta = with lib; {
description = "Sphinx extension for Read the Docs overrides";
homepage = "https://github.com/rtfd/readthedocs-sphinx-ext";
license = licenses.mit;
};
}