mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f753a106f2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-jupyterlab_server/versions
(cherry picked from commit ca67a7200c
)
39 lines
747 B
Nix
39 lines
747 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, notebook
|
|
, jsonschema
|
|
, pythonOlder
|
|
, requests
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab_server";
|
|
version = "0.3.0";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "13b728z5ls0g3p1gq5hvfqg7302clxna5grvgjfwbfzss0avlpjc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|