forked from mirrors/nixpkgs
ae67ea49c5
``` 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' ```
28 lines
618 B
Nix
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;
|
|
};
|
|
|
|
}
|