mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
38 lines
781 B
Nix
38 lines
781 B
Nix
{ 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 ];
|
|
};
|
|
}
|