python.pkgs.readthedocs-sphinx-ext: init at 0.5.16

This commit is contained in:
Robert Schütz 2019-02-20 19:55:45 +01:00
parent 4527d4fb7a
commit 4b8049ee4a
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, pytest
, mock
, sphinx
}:
buildPythonPackage rec {
pname = "readthedocs-sphinx-ext";
version = "0.5.16";
src = fetchPypi {
inherit pname version;
sha256 = "42b1c63d63dd483a188b541599bd08a540b2d08ec2b166660179618b6ccc3bb0";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest mock sphinx ];
checkPhase = ''
py.test
'';
# https://github.com/rtfd/readthedocs-sphinx-ext/pull/60
doCheck = false;
meta = with lib; {
description = "Sphinx extension for Read the Docs overrides";
homepage = http://github.com/rtfd/readthedocs-sphinx-ext;
# Not sure which one: https://github.com/rtfd/readthedocs-sphinx-ext/issues/59
license = licenses.bsdOriginal;
};
}

View File

@ -3989,6 +3989,8 @@ in {
owslib = callPackage ../development/python-modules/owslib { };
readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };
resampy = callPackage ../development/python-modules/resampy { };
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };