1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytest,
6 jupyter-client,
7 ipykernel,
8 holoviews,
9 nbformat,
10 nbconvert,
11 pyflakes,
12 requests,
13 beautifulsoup4,
14}:
15
16buildPythonPackage rec {
17 pname = "nbsmoke";
18 version = "0.6.0";
19 format = "setuptools";
20
21 src = fetchPypi {
22 inherit pname version;
23 sha256 = "8b55333e2face27bc7ff80c266c468ca5633947cb0697727348020dd445b0874";
24 };
25
26 propagatedBuildInputs = [
27 pytest
28 holoviews
29 jupyter-client
30 ipykernel
31 nbformat
32 nbconvert
33 pyflakes
34 requests
35 beautifulsoup4
36 ];
37
38 # tests not included with pypi release
39 doCheck = false;
40 pythonImportsCheck = [ "nbsmoke" ];
41
42 meta = with lib; {
43 description = "Basic notebook checks and linting";
44 homepage = "https://github.com/pyviz/nbsmoke";
45 license = licenses.bsd3;
46 maintainers = [ ];
47 };
48}