81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
46 lines
827 B
Nix
46 lines
827 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, jupyter-client
|
|
, ipykernel
|
|
, holoviews
|
|
, nbformat
|
|
, nbconvert
|
|
, pyflakes
|
|
, requests
|
|
, beautifulsoup4
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbsmoke";
|
|
version = "0.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8b55333e2face27bc7ff80c266c468ca5633947cb0697727348020dd445b0874";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pytest
|
|
holoviews
|
|
jupyter-client
|
|
ipykernel
|
|
nbformat
|
|
nbconvert
|
|
pyflakes
|
|
requests
|
|
beautifulsoup4
|
|
];
|
|
|
|
# tests not included with pypi release
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "nbsmoke" ];
|
|
|
|
meta = with lib; {
|
|
description = "Basic notebook checks and linting";
|
|
homepage = "https://github.com/pyviz/nbsmoke";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|