nbclassic: init at 0.2.6

This commit is contained in:
Enno Richter 2020-12-29 08:58:30 +01:00
parent d9728515e6
commit 4d49cdc0cf
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, notebook
, pythonOlder
, jupyter_server
, pytestCheckHook
, pytest-tornasync
}:
buildPythonPackage rec {
pname = "nbclassic";
version = "0.2.6";
disabled = pythonOlder "3.5";
# tests only on github
src = fetchFromGitHub {
owner = "jupyterlab";
repo = pname;
rev = version;
sha256 = "sha256-stp0LZJAOCrnObvJIPEVt8mMb8yL29nlHECypbTg3ec=";
};
propagatedBuildInputs = [ jupyter_server notebook ];
checkInputs = [
pytestCheckHook
pytest-tornasync
];
meta = with lib; {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];
homepage = "https://github.com/jupyterlab/nbclassic";
maintainers = [ maintainers.elohmeier ];
};
}

View File

@ -4467,6 +4467,8 @@ in {
naturalsort = callPackage ../development/python-modules/naturalsort { }; naturalsort = callPackage ../development/python-modules/naturalsort { };
nbclassic = callPackage ../development/python-modules/nbclassic { };
nbclient = callPackage ../development/python-modules/nbclient { }; nbclient = callPackage ../development/python-modules/nbclient { };
nbconflux = callPackage ../development/python-modules/nbconflux { }; nbconflux = callPackage ../development/python-modules/nbconflux { };