Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 78 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879{ async-generator, buildPythonPackage, fetchFromGitHub, hatchling, ipykernel, ipywidgets, jupyter-client, lib, nbconvert, nbformat, nest-asyncio, pytest-asyncio, pytestCheckHook, pythonOlder, testpath, traitlets, xmltodict,}:
let nbclient = buildPythonPackage rec { pname = "nbclient"; version = "0.10.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "jupyter"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-8OLkpwX4Gpam9VSFUtNS41Ypxe4+2yN3ng6iVY9DSqY="; };
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ async-generator traitlets nbformat nest-asyncio jupyter-client ];
# circular dependencies if enabled by default doCheck = false;
nativeCheckInputs = [ ipykernel ipywidgets nbconvert pytest-asyncio pytestCheckHook testpath xmltodict ];
preCheck = '' export HOME=$(mktemp -d) '';
passthru.tests = { check = nbclient.overridePythonAttrs (_: { doCheck = true; }); };
meta = with lib; { homepage = "https://github.com/jupyter/nbclient"; description = "Client library for executing notebooks"; mainProgram = "jupyter-execute"; license = licenses.bsd3; maintainers = [ ]; }; };innbclient