54 lines
934 B
Nix
54 lines
934 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fastprogress
|
|
, fastcore
|
|
, asttokens
|
|
, astunparse
|
|
, watchdog
|
|
, execnb
|
|
, ghapi
|
|
, pyyaml
|
|
, quarto
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbdev";
|
|
version = "2.3.13";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Umkf3CcRRSS+pK3UKeTg+Ru3TW+qHNoQ2F6nUk8jQUU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fastprogress
|
|
fastcore
|
|
asttokens
|
|
astunparse
|
|
watchdog
|
|
execnb
|
|
ghapi
|
|
pyyaml
|
|
quarto
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|