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