nixpkgs/pkgs/development/python-modules/sphinxcontrib-serializinghtml/default.nix
Jonathan Ringer ae67ea49c5
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'
```
2020-08-15 16:16:00 -07:00

28 lines
618 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "sphinxcontrib-serializinghtml";
version = "1.1.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "eaa0eccc86e982a9b939b2b82d12cc5d013385ba5eadcc7e4fed23f4405f77bc";
};
# Check is disabled due to circular dependency of sphinx
doCheck = false;
meta = with stdenv.lib; {
description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle).";
homepage = "http://sphinx-doc.org/";
license = licenses.bsd0;
};
}