From e3fc6c83149a6bfe82b70eeffc766f00cf8f34b5 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 10 Aug 2025 00:56:28 +0100 Subject: [PATCH] gnu: python-terminado: Move to jupyter. * gnu/packages/python-web.scm (python-terminado): Move from here ... * gnu/packages/jupyter.scm: ... to here. Change-Id: I54c385f4b4bb9fe58a0c0784e6994dc76fa6c8d5 --- gnu/packages/jupyter.scm | 35 ++++++++++++++++++++++++++++++++--- gnu/packages/python-web.scm | 28 ---------------------------- 2 files changed, 32 insertions(+), 31 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index e694fa6761a..e211911aa94 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1,16 +1,17 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Danny Milosavljevic +;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2016, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2019, 2021-2025 Ricardo Wurmus +;;; Copyright © 2016, 2021 Efraim Flashner ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2019, 2021-2023 Ludovic Courtès ;;; Copyright © 2019, 2022 Andreas Enge -;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2021 Lars-Dominik Braun ;;; Copyright © 2021 Nicolas Goaziou -;;; Copyright © 2022 Marius Bakke -;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2021, 2022 Marius Bakke +;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2024 Nicolas Graves ;;; Copyright © 2024-2025 Sharlatan Hellseher ;;; @@ -500,6 +501,34 @@ Messaging Protocol}.") extensions.") (license license:bsd-4))) +(define-public python-terminado + (package + (name "python-terminado") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "terminado" version)) + (sha256 + (base32 + "0bpxag3n0148vsgmi6wh3ynmprykazzqys0lfxgpdr2xp32g42fy")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "-W" "default"))) ;taken from pyproject.toml + (native-inputs + (list python-hatchling + python-pytest + python-pytest-timeout)) + (propagated-inputs + (list python-ptyprocess + python-tornado-6)) + (home-page "https://github.com/jupyter/terminado") + (synopsis "Terminals served to term.js using Tornado websockets") + (description "This package provides a Tornado websocket backend for the +term.js Javascript terminal emulator library.") + (license license:bsd-2))) + (define-public xeus (package (name "xeus") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 704d0387916..b3552dc9dc5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4287,34 +4287,6 @@ connection to each user.") web framework, either via the basic or digest authentication schemes.") (license license:asl2.0))) -(define-public python-terminado - (package - (name "python-terminado") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "terminado" version)) - (sha256 - (base32 - "0bpxag3n0148vsgmi6wh3ynmprykazzqys0lfxgpdr2xp32g42fy")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~(list "-W" "default"))) ;taken from pyproject.toml - (native-inputs - (list python-hatchling - python-pytest - python-pytest-timeout)) - (propagated-inputs - (list python-ptyprocess - python-tornado-6)) - (home-page "https://github.com/jupyter/terminado") - (synopsis "Terminals served to term.js using Tornado websockets") - (description "This package provides a Tornado websocket backend for the -term.js Javascript terminal emulator library.") - (license license:bsd-2))) - (define-public python-wsgi-intercept (package (name "python-wsgi-intercept")