3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix
2020-08-16 19:31:14 +02:00

33 lines
602 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, pytest
, mock
, sphinx
}:
buildPythonPackage rec {
pname = "readthedocs-sphinx-ext";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "1d8343982cae238da82c809dcbd82d53f9560b50e17b1dd727123f576385139d";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest mock sphinx ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Sphinx extension for Read the Docs overrides";
homepage = "https://github.com/rtfd/readthedocs-sphinx-ext";
license = licenses.mit;
};
}