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

27 lines
578 B
Nix

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