python.pkgs.sphinxcontrib-websupport: keep 1.1.2 for python 2

This commit is contained in:
Frederik Rietdijk 2020-06-07 11:41:27 +02:00
parent 82c8cfe12c
commit 5b0379ba90
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "sphinxcontrib-websupport";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc";
};
propagatedBuildInputs = [ six ];
doCheck = false;
meta = {
description = "Sphinx API for Web Apps";
homepage = "http://sphinx-doc.org/";
license = lib.licenses.bsd2;
};
}

View file

@ -5862,7 +5862,10 @@ in {
sphinx-argparse = callPackage ../development/python-modules/sphinx-argparse { };
sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { };
sphinxcontrib-websupport = if isPy3k then
callPackage ../development/python-modules/sphinxcontrib-websupport { }
else
callPackage ../development/python-modules/sphinxcontrib-websupport/1_1.nix { };
hieroglyph = callPackage ../development/python-modules/hieroglyph { };