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