Files
nixpkgs/pkgs/development/python-modules/nbdev/default.nix
2025-08-31 13:41:36 +02:00

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 ];
};
}