-
-
Save JonathanReeve/839138f530fb2a3e853f1434b16e7a24 to your computer and use it in GitHub Desktop.
Jupyterlab Nix-shell file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
(let | |
my_jupyterlab = python37.pkgs.buildPythonPackage rec { | |
pname = "jupyterlab"; | |
version = "1.0.4"; | |
src = python37.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "0vhdbzrphirl3x37d4zh0gaxhs6f7wj0i30wy4878yjkmlr219rj"; | |
}; | |
propagatedBuildInputs = with python37.pkgs; [ notebook setuptools_scm ]; | |
doCheck = false; | |
}; | |
my_jupyterlab_server = python37.pkgs.buildPythonPackage rec { | |
pname = "jupyterlab_server"; | |
version = "1.0.0"; | |
src = python37.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "06hsyk0nrikcmqgv3l29bhgdmvdls1d9bfdwnl1pvxwkizp66zm7"; | |
}; | |
propagatedBuildInputs = with python37.pkgs; [ notebook my_jsonschema my_json5 setuptools_scm ]; | |
}; | |
my_json5 = python37.pkgs.buildPythonPackage rec { | |
pname = "json5"; | |
version = "0.8.5"; | |
src = python37.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "1c3k5blbhq7g2lnbap26a846ag5x19ivisd3wfzz6bzdl46hyjqj"; | |
}; | |
doCheck = false; | |
}; | |
my_jsonschema = python37.pkgs.buildPythonPackage rec { | |
pname = "jsonschema"; | |
version = "3.0.2"; | |
src = python37.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "03anb4ljl624lixrsaxfi7i1iwavw39sd8cfkhcy0dr2dixjnjld"; | |
}; | |
propogatedBuildInputs = with python37.pkgs; [ setuptools_scm ]; | |
}; | |
in python37.withPackages (ps: [ps.jupyter ps.tornado ps.setuptools_scm my_jupyterlab_server my_jupyterlab]) | |
).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment