nixpkgs-suyu/pkgs/development/python-modules/sphinxcontrib-htmlhelp/default.nix
Jonathan Ringer 1676e5efbc
python2Packages.sphinxcontrib-htmlhelp: disable python2
```
  Processing ./sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl
  ERROR: Package 'sphinxcontrib-htmlhelp' requires a different Python: 2.7.18 not in '>=3.5
```
2020-08-15 16:16:00 -07:00

27 lines
555 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "sphinxcontrib-htmlhelp";
version = "1.0.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "e8f5bb7e31b2dbb25b9cc435c8ab7a79787ebf7f906155729338f3156d93659b";
};
# Check is disabled due to circular dependency of sphinx
doCheck = false;
meta = with stdenv.lib; {
description = "sphinxcontrib-htmlhelp is a sphinx extension which ...";
homepage = "http://sphinx-doc.org/";
license = licenses.bsd0;
};
}