blob: ed6b860bd16f0b76511c5293bf02de2da87aadec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fastcore,
fetchPypi,
ipython,
setuptools,
traitlets,
}:
buildPythonPackage rec {
pname = "execnb";
version = "0.1.18";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-VM2WsdFICc7trCjfupL5wW0UFTzRW5RPfWs6jYpCSDM=";
};
build-system = [ setuptools ];
dependencies = [
fastcore
ipython
traitlets
];
# no real tests
doCheck = false;
pythonImportsCheck = [ "execnb" ];
meta = {
description = "Execute a jupyter notebook, fast, without needing jupyter";
homepage = "https://github.com/fastai/execnb";
changelog = "https://github.com/fastai/execnb/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ rxiao ];
mainProgram = "exec_nb";
};
}
|