841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
39 lines
821 B
Nix
39 lines
821 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, notebook
|
|
, pythonOlder
|
|
, jupyter_server
|
|
, pytestCheckHook
|
|
, pytest-tornasync
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbclassic";
|
|
version = "0.3.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
# tests only on github
|
|
src = fetchFromGitHub {
|
|
owner = "jupyterlab";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-gx086w/qYB02UFEDly+0mUsV5BvAVAuhqih4wev2p/w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jupyter_server notebook ];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytest-tornasync
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension.";
|
|
license = with licenses; [ bsd3 ];
|
|
homepage = "https://github.com/jupyterlab/nbclassic";
|
|
maintainers = [ maintainers.elohmeier ];
|
|
};
|
|
}
|