2019-02-24 15:24:17 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, jupyter_client
|
|
|
|
, ipykernel
|
2019-12-22 18:56:26 +00:00
|
|
|
, holoviews
|
2019-02-24 15:24:17 +00:00
|
|
|
, nbformat
|
|
|
|
, nbconvert
|
|
|
|
, pyflakes
|
|
|
|
, requests
|
|
|
|
, beautifulsoup4
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbsmoke";
|
2020-10-16 14:17:49 +01:00
|
|
|
version = "0.5.0";
|
2019-02-24 15:24:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 14:17:49 +01:00
|
|
|
sha256 = "2400d7878e97714e822ab200a71fc71ede487e671f42b4b411745dba95f9cb32";
|
2019-02-24 15:24:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
2019-12-22 18:56:26 +00:00
|
|
|
holoviews
|
2019-02-24 15:24:17 +00:00
|
|
|
jupyter_client
|
|
|
|
ipykernel
|
|
|
|
nbformat
|
|
|
|
nbconvert
|
|
|
|
pyflakes
|
|
|
|
requests
|
|
|
|
beautifulsoup4
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
2021-02-16 00:26:25 +00:00
|
|
|
pythonImportsCheck = [ "nbsmoke" ];
|
2019-02-24 15:24:17 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Basic notebook checks and linting";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pyviz/nbsmoke";
|
2019-02-24 15:24:17 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|