jupyter: make sure nix run starts notebook server (#231657)

This commit is contained in:
Carl Thomé 2023-05-13 16:16:39 +02:00 committed by GitHub
parent d35da0c373
commit ce1ed97c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,10 +39,22 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook glibcLocales ];
propagatedBuildInputs = [
jinja2 tornado ipython_genutils traitlets jupyter-core send2trash
jupyter-client nbformat nbclassic
nbconvert ipykernel terminado requests pexpect
prometheus-client argon2-cffi
jinja2
tornado
ipython_genutils
traitlets
jupyter-core
send2trash
jupyter-client
nbformat
nbclassic
nbconvert
ipykernel
terminado
requests
pexpect
prometheus-client
argon2-cffi
];
postPatch = ''
@ -82,5 +94,6 @@ buildPythonPackage rec {
homepage = "https://jupyter.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
mainProgram = "jupyter-notebook";
};
}