mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
nbclassic: init at 0.2.6
This commit is contained in:
parent
d9728515e6
commit
4d49cdc0cf
37
pkgs/development/python-modules/nbclassic/default.nix
Normal file
37
pkgs/development/python-modules/nbclassic/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -4467,6 +4467,8 @@ in {
|
||||
|
||||
naturalsort = callPackage ../development/python-modules/naturalsort { };
|
||||
|
||||
nbclassic = callPackage ../development/python-modules/nbclassic { };
|
||||
|
||||
nbclient = callPackage ../development/python-modules/nbclient { };
|
||||
|
||||
nbconflux = callPackage ../development/python-modules/nbconflux { };
|
||||
|
Loading…
Reference in New Issue
Block a user