2019-02-24 16:24:17 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, jupyter_client
|
|
|
|
, ipykernel
|
2019-12-22 19:56:26 +01:00
|
|
|
, holoviews
|
2019-02-24 16:24:17 +01:00
|
|
|
, nbformat
|
|
|
|
, nbconvert
|
|
|
|
, pyflakes
|
|
|
|
, requests
|
|
|
|
, beautifulsoup4
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbsmoke";
|
2019-12-19 20:31:16 +01:00
|
|
|
version = "0.3.0";
|
2019-02-24 16:24:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 20:31:16 +01:00
|
|
|
sha256 = "070e999db3902a0c62a94d76de8fb98da21eaee22d9e90eb42f1636c87e1b805";
|
2019-02-24 16:24:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
2019-12-22 19:56:26 +01:00
|
|
|
holoviews
|
2019-02-24 16:24:17 +01:00
|
|
|
jupyter_client
|
|
|
|
ipykernel
|
|
|
|
nbformat
|
|
|
|
nbconvert
|
|
|
|
pyflakes
|
|
|
|
requests
|
|
|
|
beautifulsoup4
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Basic notebook checks and linting";
|
|
|
|
homepage = https://github.com/pyviz/nbsmoke;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|