depot/third_party/nixpkgs/pkgs/development/python-modules/nbdev/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

55 lines
965 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
ipywidgets,
fastcore,
astunparse,
watchdog,
execnb,
ghapi,
pyyaml,
pythonOlder,
}:
buildPythonPackage rec {
pname = "nbdev";
version = "2.3.26";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-PmLY2JQuVOl3NyWxwLewsEr7VKSdcWq7t0nNOHP9/8A=";
};
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 ];
};
}