Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

60 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build
hatchling,
# runtime
terminado,
# tests
pytest-jupyter,
pytest-timeout,
pytestCheckHook,
}:
let
self = buildPythonPackage rec {
pname = "jupyter-server-terminals";
version = "0.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "jupyter_server_terminals";
tag = "v${version}";
hash = "sha256-af7jBscGkbekXgfDxwAfrJSY1uEuIGfzzSsjaPdlYcY=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ terminado ];
doCheck = false; # infinite recursion
nativeCheckInputs = [
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 = "Jupyter Server Extension Providing Support for Terminals";
homepage = "https://github.com/jupyter-server/jupyter_server_terminals";
license = licenses.bsd3;
maintainers = [ ];
};
};
in
self