mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
9b31b18d6e
``` 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' ```
28 lines
578 B
Nix
28 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;
|
|
};
|
|
|
|
}
|