From e9dea3c02a39053d3e07083e9f3d1d2543b88531 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 30 Aug 2016 10:53:19 +0200 Subject: [PATCH] pythonPackages.sphinx-testing: init at 0.7.1 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 570b4a77221..eb7422d43b2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22706,6 +22706,30 @@ in modules // { }; }); + sphinx-testing = buildPythonPackage rec { + name = "sphinx-testing-${version}"; + version = "0.7.1"; + + src = pkgs.fetchurl { + url = "mirror://pypi/s/sphinx-testing/${name}.tar.gz"; + sha256 = "0cd235ce939770ae5128eda01d8611fb1e36d8129399e98565f99fcbff3a8062"; + }; + + buildInputs = with self; [ mock ]; + propagatedBuildInputs = with self; [ sphinx six ]; + + checkPhase = '' + ${python.interpreter} -m unittest discover -s tests + ''; + + meta = { + homepage = https://github.com/sphinx-doc/sphinx-testing; + license = licenses.bsd2; + description = "Testing utility classes and functions for Sphinx extensions"; + }; + + }; + sphinxcontrib-blockdiag = buildPythonPackage (rec { name = "${pname}-${version}"; pname = "sphinxcontrib-blockdiag";