Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
988 B
Nix
59 lines
988 B
Nix
{
|
|
lib,
|
|
build,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
ipywidgets,
|
|
fastcore,
|
|
astunparse,
|
|
watchdog,
|
|
execnb,
|
|
ghapi,
|
|
pyyaml,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbdev";
|
|
version = "2.4.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Evp67exwUVu7Dv3z85AAeTVB4CCcBHzRFXYcq+KEpj0=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "ipywidgets" ];
|
|
|
|
build-system = [
|
|
build
|
|
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 ];
|
|
};
|
|
}
|