depot/third_party/nixpkgs/pkgs/development/python-modules/nbdev/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

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