nixpkgs/pkgs/development/python-modules/jupyterlab_server/default.nix
R. RyanTM f753a106f2 python37Packages.jupyterlab_server: 0.2.0 -> 0.3.0
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 ca67a7200cf9606e132a5eac4a584ef26c48163f)
2019-04-07 13:53:44 +02:00

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 ];
};
}