nixpkgs/pkgs/development/python-modules/jupyterlab_server/default.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

39 lines
748 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 = https://jupyter.org;
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}