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