diff options
author | Enno Richter <enno@nerdworks.de> | 2020-12-29 08:58:30 +0100 |
---|---|---|
committer | Enno Richter <enno@nerdworks.de> | 2021-03-17 18:52:20 +0100 |
commit | 4d49cdc0cff2bf7637284668aa41e01f7e125135 (patch) | |
tree | 14f6bb8e27f497860513c91fc5cdf08d10f8fff8 /pkgs/development/python-modules/nbclassic | |
parent | d9728515e637b48fe90f60c267146725e53869eb (diff) |
nbclassic: init at 0.2.6
Diffstat (limited to 'pkgs/development/python-modules/nbclassic')
-rw-r--r-- | pkgs/development/python-modules/nbclassic/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nbclassic/default.nix b/pkgs/development/python-modules/nbclassic/default.nix new file mode 100644 index 0000000000000..3644b4e48dd7f --- /dev/null +++ b/pkgs/development/python-modules/nbclassic/default.nix @@ -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 ]; + }; +} |