nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 build,
4 buildPythonPackage,
5 fetchPypi,
6 setuptools,
7 ipywidgets,
8 fastcore,
9 fastgit,
10 astunparse,
11 watchdog,
12 execnb,
13 ghapi,
14 pyyaml,
15}:
16
17buildPythonPackage rec {
18 pname = "nbdev";
19 version = "2.4.14";
20 pyproject = true;
21
22 src = fetchPypi {
23 inherit pname version;
24 hash = "sha256-zXUbUFf08IncbDO6sHiZP6KFvhF3d+GsFLPp2EuAW3g=";
25 };
26
27 pythonRelaxDeps = [ "ipywidgets" ];
28
29 build-system = [
30 build
31 setuptools
32 ];
33
34 dependencies = [
35 astunparse
36 execnb
37 fastcore
38 fastgit
39 ghapi
40 ipywidgets
41 pyyaml
42 watchdog
43 ];
44
45 # no real tests
46 doCheck = false;
47
48 pythonImportsCheck = [ "nbdev" ];
49
50 meta = {
51 homepage = "https://github.com/fastai/nbdev";
52 description = "Create delightful software with Jupyter Notebooks";
53 changelog = "https://github.com/fastai/nbdev/blob/${version}/CHANGELOG.md";
54 license = lib.licenses.asl20;
55 maintainers = with lib.maintainers; [ rxiao ];
56 };
57}