Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ buildPythonPackage, fetchFromGitHub, hatchling, ipykernel, ipywidgets, jupyter-client, jupyter-core, lib, nbconvert, nbformat, pytest-asyncio, pytestCheckHook, pythonOlder, testpath, traitlets, xmltodict,}:
let nbclient = buildPythonPackage rec { pname = "nbclient"; version = "0.10.2"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "jupyter"; repo = "nbclient"; tag = "v${version}"; hash = "sha256-+qSed6yy4YVZ25GigNTap+kMaoDiMYSJO85wurbzeDs="; };
build-system = [ hatchling ];
dependencies = [ jupyter-client jupyter-core nbformat traitlets ];
# 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 = { homepage = "https://github.com/jupyter/nbclient"; description = "Client library for executing notebooks"; mainProgram = "jupyter-execute"; license = lib.licenses.bsd3; maintainers = [ ]; }; };innbclient