mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
47 lines
827 B
Nix
47 lines
827 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, jupyter_client
|
|
, ipykernel
|
|
, holoviews
|
|
, nbformat
|
|
, nbconvert
|
|
, pyflakes
|
|
, requests
|
|
, beautifulsoup4
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbsmoke";
|
|
version = "0.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2400d7878e97714e822ab200a71fc71ede487e671f42b4b411745dba95f9cb32";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|