1{ lib
2, buildPythonPackage
3, fetchPypi
4, mock
5, sphinx
6, six
7, unittestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "sphinx-testing";
12 version = "1.0.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09";
17 };
18
19 checkInputs = [ unittestCheckHook mock ];
20 propagatedBuildInputs = [ sphinx six ];
21
22 unittestFlagsArray = [ "-s" "tests" ];
23
24 # Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5
25 doCheck = false;
26
27 meta = {
28 homepage = "https://github.com/sphinx-doc/sphinx-testing";
29 license = lib.licenses.bsd2;
30 description = "Testing utility classes and functions for Sphinx extensions";
31 };
32}