{ lib, buildPythonPackage, fetchPypi, pythonRelaxDepsHook, setuptools, ipywidgets, fastcore, astunparse, watchdog, execnb, ghapi, pyyaml, pythonOlder, }: buildPythonPackage rec { pname = "nbdev"; version = "2.3.23"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-+HbGHyJ2TX6qnBBPNivFVklrf+Ma2QM3u/2a67NxfIs="; }; nativeBuildInputs = [ pythonRelaxDepsHook ]; pythonRelaxDeps = [ "ipywidgets" ]; build-system = [ setuptools ]; dependencies = [ astunparse execnb fastcore ghapi ipywidgets pyyaml watchdog ]; # no real tests doCheck = false; pythonImportsCheck = [ "nbdev" ]; meta = with lib; { homepage = "https://github.com/fastai/nbdev"; description = "Create delightful software with Jupyter Notebooks"; changelog = "https://github.com/fastai/nbdev/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ rxiao ]; }; }