python3Packages.jupyter-server-terminals: init at 0.4.3

This commit is contained in:
Martin Weinelt 2023-01-05 00:44:53 +01:00
parent d97e53aeb0
commit fdc2e9f4ce
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build
, hatchling
# runtime
, terminado
# tests
, pytest-jupyter
, pytest-timeout
, pytestCheckHook
}:
let self = buildPythonPackage rec {
pname = "jupyter-server-terminals";
version = "0.4.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "jupyter_server_terminals";
rev = "refs/tags/v${version}";
hash = "sha256-swFMuKP/JIHJJ0zr3Dqv71Ne4WaP7GbzeNQ2tzEBpRU=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
terminado
];
doCheck = false; # infinite recursion
checkInputs = [
pytest-jupyter
pytest-timeout
pytestCheckHook
] ++ pytest-jupyter.optional-dependencies.server;
passthru.tests = {
check = self.overridePythonAttrs (_: { doCheck = true; });
};
meta = with lib; {
changelog = "https://github.com/jupyter-server/jupyter_server_terminals/releases/tag/v${version}";
description = "A Jupyter Server Extension Providing Support for Terminals";
homepage = "https://github.com/jupyter-server/jupyter_server_terminals";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
};
in self

View file

@ -4942,6 +4942,9 @@ self: super: with self; {
jupyter_server = callPackage ../development/python-modules/jupyter_server { };
jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { };
jupyterhub = callPackage ../development/python-modules/jupyterhub { };
jupyterhub-ldapauthenticator = callPackage ../development/python-modules/jupyterhub-ldapauthenticator { };