python3Packages.widgetsnbextension: add jupyter-packaging to nativeBuildInputs
This commit is contained in:
parent
221754c5ca
commit
6e51c3ee47
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jupyter-packaging
|
||||
, notebook
|
||||
, ipywidgets
|
||||
}:
|
||||
@ -15,20 +16,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-NIJIZMBisLMDCteCENta5qOWDfth1bJ1YtZjF3TeAoY=";
|
||||
};
|
||||
|
||||
# setup.py claims to require notebook, but the source doesn't have any imports
|
||||
# in it.
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'notebook>=4.4.1'," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ ];
|
||||
nativeBuildInputs = [
|
||||
jupyter-packaging
|
||||
];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "IPython HTML widgets for Jupyter";
|
||||
homepage = "http://ipython.org/";
|
||||
homepage = "https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension";
|
||||
license = ipywidgets.meta.license; # Build from same repo
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user