My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nbclassic/default.nix

39 lines
821 B

{ 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
];
__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 ];
};
}