forked from mirrors/nixpkgs
39 lines
760 B
Nix
39 lines
760 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, notebook
|
|
, jsonschema
|
|
, pythonOlder
|
|
, requests
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab_server";
|
|
version = "0.3.4";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ae0c8629b9f0196b314f017e374a70a702522739f4f08bece84963af5e8c8351";
|
|
};
|
|
|
|
checkInputs = [ requests pytest ];
|
|
propagatedBuildInputs = [ notebook jsonschema ];
|
|
|
|
# test_listing test fails
|
|
# this is a new package and not all tests pass
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "JupyterLab Server";
|
|
homepage = https://jupyter.org;
|
|
license = licenses.bsdOriginal;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|