mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
41 lines
672 B
Nix
41 lines
672 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, requests
|
|
, pytestCheckHook
|
|
, mock
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "readthedocs-sphinx-ext";
|
|
version = "2.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ZYPCZ5GlhT7p5Xzp24ZOL7BoCLpHD4BddNU/xQgR4BI=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|