mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
290a5d916e
Based on "problems" from repology: https://repology.org/repository/nix_unstable/problems Mostly simple changes to reflect redirects.
33 lines
601 B
Nix
33 lines
601 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pytest
|
|
, mock
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "readthedocs-sphinx-ext";
|
|
version = "0.5.17";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "21097cbb37c9a0590e2cb444b55bd87302fc8f69640fa2d4f2d113e98e9558ff";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|