Skip to content

Commit

Permalink
python3Packages.nbclient: 0.5.8 -> 0.5.9
Browse files Browse the repository at this point in the history
This also unbreaks the build, as for some reason the bin directory is
empty when doCheck = true and then the postFixup fails.
  • Loading branch information
erictapen committed Nov 20, 2021
1 parent 77e1b5f commit a6c95f2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pkgs/development/python-modules/nbclient/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,18 @@

buildPythonPackage rec {
pname = "nbclient";
version = "0.5.8";
version = "0.5.9";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-NPUsycuDGl2MzXAxU341THXcYaJEh/mYcS0Sid4yCiU=";
sha256 = "sha256-meRt2vrNC4YSk78kb+2FQKGErfo6p9ZB+JAx7AcHAeA=";
};

inherit doCheck;
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];

postFixup = ''
# Remove until fixed by upstream
# https://github.com/jupyter/nbclient/pull/173#issuecomment-968760082
rm $out/bin/.jupyter-run-wrapped
rm $out/bin/jupyter-run
'';

meta = with lib; {
homepage = "https://github.com/jupyter/nbclient";
description = "A client library for executing notebooks";
Expand Down

0 comments on commit a6c95f2

Please sign in to comment.