Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / sphinx-testing / default.nix
blob1a8521bf438258cfaad1e452846341d10cfaede7
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , mock
5 , sphinx
6 , six
7 , python
8 }:
10 buildPythonPackage rec {
11   pname = "sphinx-testing";
12   version = "1.0.1";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09";
17   };
19   checkInputs = [ mock ];
20   propagatedBuildInputs = [ sphinx six ];
22   checkPhase = ''
23     ${python.interpreter} -m unittest discover -s tests
24   '';
26   # Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5
27   doCheck = false;
29   meta = {
30     homepage = "https://github.com/sphinx-doc/sphinx-testing";
31     license = lib.licenses.bsd2;
32     description = "Testing utility classes and functions for Sphinx extensions";
33   };