dae973cb59
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
36 lines
777 B
Nix
36 lines
777 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fastprogress
|
|
, fastcore
|
|
, asttokens
|
|
, astunparse
|
|
, watchdog
|
|
, execnb
|
|
, ghapi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbdev";
|
|
version = "2.3.11";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ITMCmuAb1lXONbP5MREpk8vfNSztoTEmT87W1o+fbIU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ fastprogress fastcore asttokens astunparse watchdog execnb ghapi ];
|
|
# no real tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "nbdev" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/fastai/nbdev";
|
|
description = "Create delightful software with Jupyter Notebooks";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ rxiao ];
|
|
};
|
|
}
|