2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, sphinx
|
|
|
|
, six
|
2022-09-09 14:08:57 +00:00
|
|
|
, unittestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-testing";
|
|
|
|
version = "1.0.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook mock ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ sphinx six ];
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
unittestFlagsArray = [ "-s" "tests" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/sphinx-doc/sphinx-testing";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
description = "Testing utility classes and functions for Sphinx extensions";
|
|
|
|
};
|
|
|
|
}
|