Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ 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 = [ ]; }; };inself