python3Packages.widgetsnbextension: patch out unnecessary dependency
This commit is contained in:
parent
1e7cc37ca4
commit
de161602c5
1 changed files with 9 additions and 2 deletions
|
@ -8,13 +8,20 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "widgetsnbextension";
|
||||
version = "3.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-6Ep6n8ubrz1XEG4YSnOJqPjrk1v3QaXrnWCqGMwCmoA=";
|
||||
hash = "sha256-6Ep6n8ubrz1XEG4YSnOJqPjrk1v3QaXrnWCqGMwCmoA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ notebook ];
|
||||
# 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 = [ ];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue