nixpkgs/pkgs/development/python-modules/jupyterlab_server/default.nix
2020-06-06 08:34:54 +02:00

40 lines
780 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, notebook
, jsonschema
, pythonOlder
, requests
, pytest
, pyjson5
}:
buildPythonPackage rec {
pname = "jupyterlab_server";
version = "1.1.5";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3398e401b95da868bc96bdaa44fa61252bf3e68fc9dd1645bd93293cce095f6c";
};
checkInputs = [ requests pytest ];
propagatedBuildInputs = [ notebook jsonschema pyjson5 ];
# 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 ];
};
}