diff options
Diffstat (limited to 'gnu/packages/terminals.scm')
-rw-r--r-- | gnu/packages/terminals.scm | 116 |
1 files changed, 65 insertions, 51 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index fbfc4439db..0f9c5ab352 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> ;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@gmail.com> +;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -114,6 +115,7 @@ #:use-module (gnu packages popt) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -254,8 +256,8 @@ managers.") (substitute* "tests/pty_test.py" (("python3") (search-input-file inputs "/bin/python3")))))))) (native-inputs - ;; For tests. - (list python-pytest)) + (list python-pytest ; For tests. + python-setuptools python-wheel)) (home-page "https://asciinema.org") (synopsis "Terminal session recorder") (description @@ -1164,30 +1166,28 @@ than a terminal.") (define-public python-curtsies (package (name "python-curtsies") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (pypi-uri "curtsies" version)) (sha256 - (base32 "1c122vgfsvksxkd41g2vij6hjsz97ikg59snclq4af2mkhs0zlb2")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "nosetests" "-v")))))) - (propagated-inputs - (list python-blessed python-cwcwidth)) + (base32 "03kn093lr84qg8fmqrn1jb0zak6a1ir9q106lm8jijfpbchk7gkf")))) + (build-system pyproject-build-system) (native-inputs - (list python-pyte python-nose)) + (list python-pyte + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-blessed + python-cwcwidth)) (home-page "https://github.com/bpython/curtsies") - (synopsis "Library for curses-like terminal interaction with colored -strings") - (description "Curtsies is a Python library for interacting with the -terminal. It features string-like objects which carry formatting information, -per-line fullscreen terminal rendering, and keyboard input event reporting.") + (synopsis "Library for curses-like terminal interaction with colored strings") + (description + "Curtsies is a Python library for interacting with the terminal. It +features string-like objects which carry formatting information, per-line +fullscreen terminal rendering, and keyboard input event reporting.") (license license:expat))) (define-public python-halo @@ -1203,8 +1203,14 @@ per-line fullscreen terminal rendering, and keyboard input event reporting.") (build-system pyproject-build-system) (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) - (native-inputs (list python-coverage python-nose python-pylint python-tox - python-twine)) + (native-inputs + (list python-coverage + python-nose + python-pylint + python-setuptools + python-tox + python-twine + python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") (description "Halo is a Python library to display graphical spinners in @@ -1230,8 +1236,14 @@ the terminal. It also supports IPython/Jupyter.") (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) + (native-inputs + (list python-coverage + python-nose + python-pylint + python-setuptools + python-tox + python-wheel)) (propagated-inputs (list python-colorama)) - (native-inputs (list python-coverage python-nose python-pylint python-tox)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") (description "This package provides a Python library with graphical symbols @@ -1258,7 +1270,13 @@ purposes.") (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-coverage python-nose python-pylint python-tox)) + (native-inputs + (list python-coverage + python-nose + python-pylint + python-setuptools + python-tox + python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") (description "Spinners is a Python library that contains graphical spinners @@ -1524,7 +1542,7 @@ basic input/output.") (define-public alacritty (package (name "alacritty") - (version "0.13.1") + (version "0.14.0") (source (origin ;; XXX: The crate at "crates.io" contains only the alacritty subproject @@ -1536,26 +1554,22 @@ basic input/output.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1y5xc9ryn9r0adygq53vrbpb8lazkmcqw38q978pbf0i57nwczrn")))) + (base32 "0wfrj3h6rp90mclvssansh6p48q394xa8pzw74pjznzi2jxjw6b6")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-test-flags - '("--release" "--" - ;; Completions generated with a different minor version of clap? - "--skip=cli::tests::completions") #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) - ("rust-base64" ,rust-base64-0.21) + ("rust-base64" ,rust-base64-0.22) ("rust-bitflags" ,rust-bitflags-2) ("rust-clap" ,rust-clap-4) ("rust-cocoa" ,rust-cocoa-0.25) ("rust-copypasta" ,rust-copypasta-0.10) - ("rust-crossfont" ,rust-crossfont-0.7) + ("rust-crossfont" ,rust-crossfont-0.8) ("rust-dirs" ,rust-dirs-5) ("rust-embed-resource" ,rust-embed-resource-2) ("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-glutin" ,rust-glutin-0.31) + ("rust-glutin" ,rust-glutin-0.32) ("rust-home" ,rust-home-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) @@ -1568,7 +1582,6 @@ basic input/output.") ("rust-png" ,rust-png-0.17) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) ("rust-regex-automata" ,rust-regex-automata-0.4) ("rust-rustix-openpty" ,rust-rustix-openpty-0.1) ("rust-serde" ,rust-serde-1) @@ -1576,11 +1589,13 @@ basic input/output.") ("rust-serde-yaml" ,rust-serde-yaml-0.9) ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-syn" ,rust-syn-2) + ("rust-tempfile" ,rust-tempfile-3) ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.22) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-vte" ,rust-vte-0.13) - ("rust-windows-sys" ,rust-windows-sys-0.48) - ("rust-winit" ,rust-winit-0.29) + ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-winit" ,rust-winit-0.30) ("rust-xdg" ,rust-xdg-2)) #:cargo-development-inputs (("rust-clap-complete" ,rust-clap-complete-4) @@ -1718,7 +1733,7 @@ terminal. Note that you need support for OpenGL 3.2 or higher.") (define-public bootterm (package (name "bootterm") - (version "0.4") + (version "0.5") (source (origin (method git-fetch) (uri (git-reference @@ -1727,22 +1742,21 @@ terminal. Note that you need support for OpenGL 3.2 or higher.") (file-name (git-file-name name version)) (sha256 (base32 - "1k3jacld98za41dbpr10sjms77hrw91sb10m0cnwv3h7aifiwmrs")))) + "1xag6agcqkq2p7gp20qxjb95ah7p6lia65jmm5v51rqxfzclx2h1")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; no test suite - #:make-flags (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - ;; No ./configure script - (delete 'configure) - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/" ,name "-" ,version))) - (install-file "README.md" doc) - #t)))))) + (list #:tests? #f ; no test suite + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + ;; No ./configure script + (delete 'configure) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc (format #f "~a/share/doc/~a-~a" + #$output #$name #$version))) + (install-file "README.md" doc))))))) (home-page "https://github.com/wtarreau/bootterm") (synopsis "Serial terminal") (description "Bootterm is a terminal designed to ease connection to @@ -1772,7 +1786,7 @@ and the ability to read and write via stdin and stdout.") pkg-config)) (inputs (list dbus dbus-glib gtk+ pcre vte)) - (synopsis "ROXTerm terminal emulator") + (synopsis "Terminal emulator") (description "This package provides a terminal emulator with hyperlink support. It's based on VTE and aimed at power users.") (home-page "https://realh.github.io/roxterm/en/index.html") |