mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
39 lines
759 B
Nix
39 lines
759 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, notebook
|
|
, jsonschema
|
|
, pythonOlder
|
|
, requests
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab_server";
|
|
version = "0.2.0";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "72d916a73957a880cdb885def6d8664a6d1b2760ef5dca5ad665aa1e8d1bb783";
|
|
};
|
|
|
|
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 = http://jupyter.org;
|
|
license = licenses.bsdOriginal;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|