mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
1676e5efbc
``` 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 ```
28 lines
555 B
Nix
28 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;
|
|
};
|
|
|
|
}
|