python2Packages.sphinxcontrib-serializinghtml: disable python2

```
  Processing ./sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl
  ERROR: Package 'sphinxcontrib-serializinghtml' requires a different Python: 2.7.18 not in '>=3.5'
```
This commit is contained in:
Jonathan Ringer 2020-08-15 15:46:27 -07:00
parent 1676e5efbc
commit ae67ea49c5
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,11 +1,13 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinxcontrib-serializinghtml"; pname = "sphinxcontrib-serializinghtml";
version = "1.1.4"; version = "1.1.4";
disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;