Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchPypi, hatchling, hatch-jupyter-builder, hatch-nodejs-version, ipywidgets, jupyterlab,}:
buildPythonPackage rec { pname = "ipylab"; version = "1.1.0"; pyproject = true;
# This needs to be fetched from Pypi, as we rely on the nodejs build to be skipped, # which only happens if ipylab/labextension/style.js is present. src = fetchPypi { inherit pname version; hash = "sha256-85hYpNnvbsuC+O/uufa1oBo6ZNTzxPKl/i1YrllN4hI="; };
build-system = [ hatchling hatch-jupyter-builder hatch-nodejs-version jupyterlab ];
dependencies = [ ipywidgets ];
pythonImportsCheck = [ "ipylab" ];
# There are no tests doCheck = false;
meta = { description = "Control JupyterLab from Python notebooks"; homepage = "https://github.com/jtpio/ipylab"; changelog = "https://github.com/jtpio/ipylab/releases/tag/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; };}