Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / jupyterlab / default.nix
blob513cce507e3bed8af88e0280854ec1c532bbaaec
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , jupyterlab_server
5 , notebook
6 , pythonOlder
7 , jupyter-packaging
8 , nbclassic
9 }:
11 buildPythonPackage rec {
12   pname = "jupyterlab";
13   version = "3.0.12";
14   disabled = pythonOlder "3.5";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "929c60d7fb4aa704084c02d8ededc209b8b378e0b3adab46158b7fa6acc24230";
19   };
21   nativeBuildInputs = [ jupyter-packaging ];
23   propagatedBuildInputs = [ jupyterlab_server notebook nbclassic ];
25   makeWrapperArgs = [
26     "--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
27   ];
29   # Depends on npm
30   doCheck = false;
32   pythonImportsCheck = [ "jupyterlab" ];
34   meta = with lib; {
35     description = "Jupyter lab environment notebook server extension.";
36     license = with licenses; [ bsd3 ];
37     homepage = "https://jupyter.org/";
38     maintainers = with maintainers; [ zimbatm costrouc ];
39   };