Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / nbclassic / default.nix
blob3644b4e48dd7f1de62d98d2362352ffe5e9de78a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , notebook
5 , pythonOlder
6 , jupyter_server
7 , pytestCheckHook
8 , pytest-tornasync
9 }:
11 buildPythonPackage rec {
12   pname = "nbclassic";
13   version = "0.2.6";
14   disabled = pythonOlder "3.5";
16   # tests only on github
17   src = fetchFromGitHub {
18     owner = "jupyterlab";
19     repo = pname;
20     rev = version;
21     sha256 = "sha256-stp0LZJAOCrnObvJIPEVt8mMb8yL29nlHECypbTg3ec=";
22   };
24   propagatedBuildInputs = [ jupyter_server notebook ];
26   checkInputs = [
27     pytestCheckHook
28     pytest-tornasync
29   ];
31   meta = with lib; {
32     description = "Jupyter lab environment notebook server extension.";
33     license = with licenses; [ bsd3 ];
34     homepage = "https://github.com/jupyterlab/nbclassic";
35     maintainers = [ maintainers.elohmeier ];
36   };