nixpkgs/pkgs/development/python-modules/nbsmoke/default.nix

47 lines
827 B
Nix
Raw Normal View History

2019-02-24 15:24:17 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jupyter_client
, ipykernel
, holoviews
2019-02-24 15:24:17 +00:00
, nbformat
, nbconvert
, pyflakes
, requests
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "nbsmoke";
version = "0.5.0";
2019-02-24 15:24:17 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "2400d7878e97714e822ab200a71fc71ede487e671f42b4b411745dba95f9cb32";
2019-02-24 15:24:17 +00:00
};
propagatedBuildInputs = [
pytest
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;
pythonImportsCheck = [ "nbsmoke" ];
2019-02-24 15:24:17 +00:00
meta = with lib; {
description = "Basic notebook checks and linting";
homepage = "https://github.com/pyviz/nbsmoke";
2019-02-24 15:24:17 +00:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}