depot/third_party/nixpkgs/pkgs/development/python-modules/nbclassic/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

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