nixpkgs-suyu/pkgs/development/python-modules/jupyterlab/default.nix
R. RyanTM 39e686fe30
python37Packages.jupyterlab: 0.35.4 -> 0.35.6
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/versions
2019-05-01 23:01:35 -07:00

43 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyterlab_server
, notebook
, pythonOlder
, fetchpatch
}:
buildPythonPackage rec {
pname = "jupyterlab";
version = "0.35.6";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "2ec845845d51221e39d0d753884a19342c953f39febf3148a68631bf57ecb774";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];
makeWrapperArgs = [
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
];
patches = [
(fetchpatch {
name = "bump-jupyterlab_server-version";
url = https://github.com/jupyterlab/jupyterlab/commit/3b8d451e6f9a4c609e60cde5fbb3cc84aae79951.patch;
sha256 = "08vv6rp1k5fbmvj4v9x1d9zb6ymm9pv8ml80j7p45r9fay34rndf";
})
];
# Depends on npm
doCheck = false;
meta = with lib; {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];
homepage = "https://jupyter.org/";
maintainers = with maintainers; [ zimbatm costrouc ];
};
}