mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
35 lines
741 B
Nix
35 lines
741 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jupyterlab_server
|
|
, notebook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab";
|
|
version = "0.35.4";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "deba0b2803640fcad72c61366bff11d5945173015961586d5e3b2f629ffeb455";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jupyterlab_server notebook ];
|
|
|
|
makeWrapperArgs = [
|
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
|
];
|
|
|
|
# Depends on npm
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension.";
|
|
license = with licenses; [ bsd3 ];
|
|
homepage = "http://jupyter.org/";
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
|
};
|
|
}
|