2015-08-24 19:48:40 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-01-06 19:22:55 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2016-06-01 17:54:53 +00:00
|
|
|
|
;;; Copyright © 2016 Mckinley Olsen <mck.olsen@gmail.com>
|
2019-11-02 02:31:09 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2019 Alex Griffin <a@ajgrf.com>
|
2016-08-22 13:39:19 +00:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2020-03-08 20:21:14 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
2017-01-04 23:23:18 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
|
2022-05-08 00:00:04 +00:00
|
|
|
|
;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-10-30 17:47:50 +00:00
|
|
|
|
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
|
2019-09-16 10:17:59 +00:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2017-04-23 11:46:41 +00:00
|
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2018-02-03 19:44:13 +00:00
|
|
|
|
;;; Copyright © 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2018-06-13 07:56:15 +00:00
|
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2018-12-26 11:41:58 +00:00
|
|
|
|
;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
|
2019-01-29 09:05:00 +00:00
|
|
|
|
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
|
2021-12-28 04:53:46 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2021 Eric Bavier <bavier@posteo.net>
|
2019-05-13 21:06:19 +00:00
|
|
|
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
2021-08-11 21:36:10 +00:00
|
|
|
|
;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
2020-11-25 14:11:11 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
|
2020-01-13 23:50:37 +00:00
|
|
|
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
2020-02-02 18:31:24 +00:00
|
|
|
|
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
|
2020-03-27 00:51:13 +00:00
|
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2021-01-27 19:56:03 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org>
|
2021-01-23 09:01:30 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2020-12-14 19:55:39 +00:00
|
|
|
|
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
|
2021-11-10 13:41:57 +00:00
|
|
|
|
;;; Copyright @ 2020 luhux <luhux@outlook.com>
|
2021-04-21 12:37:42 +00:00
|
|
|
|
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
|
2022-03-31 10:55:45 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 Raphaël Mélotte <raphael.melotte@mind.be>
|
2021-09-05 11:31:02 +00:00
|
|
|
|
;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
|
2021-09-06 09:25:48 +00:00
|
|
|
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
2021-05-25 08:16:50 +00:00
|
|
|
|
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
|
2021-11-10 13:41:57 +00:00
|
|
|
|
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
|
2022-02-14 12:07:56 +00:00
|
|
|
|
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
|
2022-08-06 09:13:31 +00:00
|
|
|
|
;;; Copyright © 2022 ( <paren@disroot.org>
|
2015-08-24 19:48:40 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages terminals)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2020-02-02 18:31:24 +00:00
|
|
|
|
#:use-module (guix build-system cargo)
|
2017-10-30 17:47:50 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-10-02 07:34:25 +00:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2018-01-21 10:41:37 +00:00
|
|
|
|
#:use-module (guix build-system go)
|
2020-12-06 15:48:22 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2016-07-27 21:22:32 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (guix download)
|
2016-06-01 17:54:53 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2022-05-08 00:00:01 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (guix packages)
|
2020-11-29 20:21:29 +00:00
|
|
|
|
#:use-module (guix utils)
|
2017-04-23 11:46:41 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2021-12-08 17:12:45 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2022-05-03 16:05:12 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2018-02-03 19:44:13 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2020-02-02 18:31:24 +00:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2020-02-02 18:31:24 +00:00
|
|
|
|
#:use-module (gnu packages crates-io)
|
gnu: Move graphics crates to crates-graphics.scm.
* gnu/packages/crates-graphics.scm: New module. Move rust-andrew-0.2,
rust-ansi-colours-1, rust-ansi-term-0.12, rust-ansi-term-0.11,
rust-ansi-term-0.10, rust-aom-sys-0.1, rust-ascii-canvas-2,
rust-cgl-0.3, rust-cgl-0.2, rust-cgmath-0.17, rust-cglmath-0.16,
rust-core-graphics-0.17, rust-core-video-sys-0.1, rust-dav1d-sys-0.3,
rust-euclid-0.20, rust-gfx-0.18, rust-gfx-core-0.9,
rust-gfx-device-gl-0.16, rust-gfx-gl-0.6, rust-gif-0.10, rust-gl-0.11,
rust-gl-generator-0.14, rust-gl-generator-0.13, rust-gl-generator-0.11,
rust-gl-generator-0.10, rust-gleam-0.6, rust-glutin-0.22,
rust-glutin-0.21, rust-glutin-egl-sys-0.1,
rust-glutin-emscripten-sys-0.1, rust-glutin-gles2-sys-0.1,
rust-glutin-glx-sys-0.1, rust-glutin-wayland-sys-0.1, rust-image-0.23,
rust-image-0.22, rust-image-0.21, rust-image-0.20,
rust-jpeg-decoder-0.1, rust-line-drawing-0.7, rust-lyon-geom-0.14,
rust-lyon-path-0.14, rust-osmesa-sys-0.1, rust-piston-0.49,
rust-piston-float-1.0, rust-piston-gfx-texture-0.40,
rust-piston-graphics-api-version-0.2,
rust-piston-shaders-graphics2d-0.3, rust-piston-texture-0.8,
rust-piston-viewport-1.0, rust-piston-window-0.105,
rust-piston2d-gfx-graphics-0.66, rust-pison2d-graphics-0.35,
rust-piston-event-loop-0.49, rust-pistoncore-glutin-window-0.63,
rust-pistoncore-input-0.28, rust-pistoncore-window-0.44, rust-png-0.16,
rust-png-0.15, rust-png-0.14, rust-png-0.12, rust-raw-window-handle-0.3,
rust-resize-0.3, rust-rgb-0.8, rust-smithay-client-toolkit-0.6,
rust-smithay-client-toolkit-0.4, rust-smithay-clipboard-0.3,
rust-tiff-0.5, rust-tiff-0.3, rust-tiff-0.2, rust-wayland-client-0.23,
rust-wayland-client-0.21, rust-wayland-commons-0.23,
rust-wayland-commons-0.21, rust-wayland-protocols-0.23,
rust-wayland-protocols-0.21, rust-wayland-scanner-0.23,
rust-wayland-scanner-0.21, rust-wayland-server-0.23,
rust-wayland-server-0.21, rust-wayland-sys-0.23, rust-wayland-sys-0.21,
rust-winit-0.20, rust-winit-0.19, rust-x11-2, rust-x11-clipboard-0.4,
rust-x11-dl-2, rust-y4m-0.5 to here.
* gnu/packages/crates-io.scm: ... from here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new module.
* gnu/packages/crates-io.scm, gnu/packages/crates-gtk.scm,
gnu/packages/gnome.scm, gnu/packages/rust-apps.scm,
gnu/packages/terminals.scm, gnu/packages/video.scm: Adjust for
package movement.
2020-10-05 09:36:32 +00:00
|
|
|
|
#:use-module (gnu packages crates-graphics)
|
2019-03-05 19:18:08 +00:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2017-07-14 07:01:07 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-08-22 13:39:53 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2021-09-05 11:31:02 +00:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2020-12-14 17:53:15 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2016-08-22 13:39:53 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2019-06-25 18:48:43 +00:00
|
|
|
|
#:use-module (gnu packages golang)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2019-08-06 11:04:47 +00:00
|
|
|
|
#:use-module (gnu packages libcanberra)
|
2018-06-13 07:56:15 +00:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2016-08-22 13:39:53 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2020-12-06 15:48:22 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2017-07-14 07:01:07 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2016-12-07 17:03:09 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 22:03:01 +00:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2015-08-24 19:48:40 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2019-03-05 19:18:08 +00:00
|
|
|
|
#:use-module (gnu packages popt)
|
|
|
|
|
#:use-module (gnu packages protobuf)
|
2016-07-27 21:22:32 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Move more packages from python to python-web.
* gnu/packages/python.scm (python-requests, python2-requests)
(python-requests-2.7, python-oauthlib, python2-oauthlib)
(python-furl, python2-furl, python-wsgi-intercept)
(python-publicsuffix, python2-publicsuffix)
(python-publicsuffix2, python2-publicsuffix2): Move to...
* gnu/packages/python-web.scm: ... here.
* gnu/packages/bioinformatics.scm, gnu/packages/finance.scm:
gnu/packages/maths.scm, gnu/packages/terminals.scm,
gnu/packages/video.scm, gnu/packages/virtualization.scm: Adjust
accordingly.
2017-11-15 13:59:31 +00:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2017-07-14 07:01:07 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2018-06-13 07:56:15 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 20:56:54 +00:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2018-06-13 07:56:15 +00:00
|
|
|
|
#:use-module (gnu packages ssh)
|
2018-01-21 10:54:14 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2016-09-08 22:01:19 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2016-09-08 22:07:03 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
2017-10-30 17:47:50 +00:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2016-09-08 22:01:19 +00:00
|
|
|
|
#:use-module (srfi srfi-26))
|
2015-08-24 19:48:40 +00:00
|
|
|
|
|
2021-11-27 11:51:18 +00:00
|
|
|
|
(define-public libptytty
|
|
|
|
|
(package
|
|
|
|
|
(name "libptytty")
|
|
|
|
|
(version "2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/yusiwen/libptytty")
|
|
|
|
|
(commit "b9694ea18e0dbd78213f55233a430325c13ad63e")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1g8by1m6ya4r47p137mw4ddml40js0zh6mdb9n6ib49ayngv8ak3"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; no test suite
|
|
|
|
|
(home-page "https://github.com/yusiwen/libptytty")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Portable, secure PTY/TTY and @file{utmp}/@file{wtmp}/@file{lastlog} handling")
|
|
|
|
|
(description
|
|
|
|
|
"Libptytty is a small C/C++ library to manage pseudo-ttys in a uniform way,
|
|
|
|
|
created out of frustration over the many differences of PTY/TTY handling in
|
|
|
|
|
different operating systems.
|
|
|
|
|
|
|
|
|
|
In addition to mere PTY/TTY management, it supports updating the session
|
|
|
|
|
database at @file{utmp}, and @file{wtmp}/@file{lastlog} for login shells.
|
|
|
|
|
|
|
|
|
|
It also supports @code{fork}ing after start-up and dropping privileges in the
|
|
|
|
|
calling process. This reduces the potential attack surface: if the calling
|
|
|
|
|
process were to be compromised by the user starting the program, there would be
|
|
|
|
|
less to gain, as only the helper process is running with privileges (e.g.,
|
|
|
|
|
@code{setuid}/@code{setgid}).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(define-public tilda
|
|
|
|
|
(package
|
|
|
|
|
(name "tilda")
|
2020-12-28 12:39:47 +00:00
|
|
|
|
(version "1.5.4")
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(source (origin
|
2018-11-29 21:16:46 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/lanoxx/tilda")
|
2018-11-29 21:16:46 +00:00
|
|
|
|
(commit (string-append "tilda-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-28 12:39:47 +00:00
|
|
|
|
"0q2i9ny8sh7zjzgvkx8vcvk593wcvchjc4xq4nrlqdd377r7cg5q"))))
|
2017-10-02 07:34:25 +00:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2020-12-28 12:39:47 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-po-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable (find-files "po" "."))
|
|
|
|
|
#t)))))
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2016-09-25 07:33:02 +00:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2015-11-19 12:45:45 +00:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libconfuse vte))
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(synopsis "GTK+-based drop-down terminal")
|
|
|
|
|
(description "Tilda is a terminal emulator similar to normal terminals like
|
|
|
|
|
gnome-terminal (GNOME) or Konsole (KDE), with the difference that it drops down
|
|
|
|
|
from the edge of a screen when a certain configurable hotkey is pressed. This
|
|
|
|
|
is similar to the built-in consoles in some applications. Tilda is highly
|
2017-04-16 16:06:57 +00:00
|
|
|
|
configurable through a graphical wizard.")
|
2015-08-24 19:48:40 +00:00
|
|
|
|
(home-page "https://github.com/lanoxx/tilda")
|
|
|
|
|
(license license:gpl2+)))
|
2016-06-01 17:54:53 +00:00
|
|
|
|
|
|
|
|
|
(define-public termite
|
|
|
|
|
(package
|
|
|
|
|
(name "termite")
|
2019-05-01 16:28:31 +00:00
|
|
|
|
(version "15")
|
2016-06-01 17:54:53 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://github.com/thestinger/"
|
|
|
|
|
name ".git"))
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
2016-10-15 18:12:23 +00:00
|
|
|
|
(base32
|
2019-05-01 16:28:31 +00:00
|
|
|
|
"0hp1x6lj098m3jgna274wv5dv60lnzg22297di68g4hw9djjyd2k"))))
|
2016-06-01 17:54:53 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-15 18:15:00 +00:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-01-13 23:50:37 +00:00
|
|
|
|
(add-after 'unpack 'patch-xdg-open
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "termite.cc"
|
|
|
|
|
(("xdg-open") (which "xdg-open")))
|
|
|
|
|
#t))
|
2016-10-15 18:15:00 +00:00
|
|
|
|
(delete 'configure))
|
2016-06-01 17:54:53 +00:00
|
|
|
|
#:tests? #f
|
|
|
|
|
;; This sets the destination when installing the necessary terminal
|
|
|
|
|
;; capability data, which are not provided by 'ncurses'. See
|
|
|
|
|
;; <https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html>.
|
|
|
|
|
#:make-flags (list "PREFIX="
|
|
|
|
|
(string-append "VERSION=v" (version))
|
|
|
|
|
(string-append "DESTDIR="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
|
|
|
|
(inputs
|
2018-03-16 15:50:14 +00:00
|
|
|
|
`(("vte" ,vte-ng)
|
|
|
|
|
("gtk+" ,gtk+)
|
2020-01-13 23:50:37 +00:00
|
|
|
|
("xdg-utils" ,xdg-utils)
|
2018-03-16 15:50:14 +00:00
|
|
|
|
("ncurses" ,ncurses)))
|
2016-06-01 17:54:53 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-06-01 17:54:53 +00:00
|
|
|
|
|
|
|
|
|
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
|
|
|
|
|
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TERMINFO_DIRS")
|
|
|
|
|
(files '("share/terminfo")))))
|
|
|
|
|
(home-page "https://github.com/thestinger/termite/")
|
|
|
|
|
(synopsis "Keyboard-centric, VTE-based terminal")
|
2021-12-28 20:02:12 +00:00
|
|
|
|
(description "Termite is a minimal terminal emulator. It is no longer
|
|
|
|
|
maintained as the author considers it obsoleted by Alacritty.
|
|
|
|
|
|
|
|
|
|
It was designed for use with tiling window managers. It is a modal
|
|
|
|
|
application, similar to Vim, with an insert mode and command mode where
|
|
|
|
|
keybindings have different functions.")
|
2016-06-01 17:54:53 +00:00
|
|
|
|
|
|
|
|
|
;; Files under util/ are under the Expat license; the rest is LGPLv2+.
|
|
|
|
|
(license license:lgpl2.0+)))
|
2016-07-27 21:22:32 +00:00
|
|
|
|
|
|
|
|
|
(define-public asciinema
|
|
|
|
|
(package
|
|
|
|
|
(name "asciinema")
|
2021-10-23 21:32:56 +00:00
|
|
|
|
(version "2.1.0")
|
2016-07-27 21:22:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-02 02:31:09 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/asciinema/asciinema")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-07-27 21:22:32 +00:00
|
|
|
|
(sha256
|
2021-10-23 21:32:56 +00:00
|
|
|
|
(base32 "1alcz018jrrpasrmgs8nw775a6pf62xq2xgs54c4mb396prdqy4x"))))
|
2016-07-27 21:22:32 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-11-02 02:31:09 +00:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _ (invoke "nosetests" "-v"))))))
|
2016-12-17 11:19:41 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-nose))
|
2016-07-27 21:22:32 +00:00
|
|
|
|
(home-page "https://asciinema.org")
|
|
|
|
|
(synopsis "Terminal session recorder")
|
|
|
|
|
(description
|
|
|
|
|
"Use asciinema to record and share your terminal sessions, the right way.
|
|
|
|
|
Forget screen recording apps and blurry video. Enjoy a lightweight, purely
|
|
|
|
|
text-based approach to terminal recording.")
|
|
|
|
|
(license license:gpl3)))
|
2016-08-22 13:39:19 +00:00
|
|
|
|
|
|
|
|
|
(define-public libtsm
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(let ((commit "f70e37982f382b03c6939dac3d5f814450bda253")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "libtsm")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
2020-10-06 12:32:35 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
;; The freedesktop repository is no longer maintained.
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://github.com/Aetf/" name))
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0mwn91i5h5d518i1s05y7hzv6bc13vzcvxszpfh77473iwg4wprx"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove a bundled copy of libxkbcommon's xkbcommon-keysyms.h.
|
|
|
|
|
(delete-file-recursively "external/xkbcommon")
|
|
|
|
|
#t))))
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_TESTING=ON")))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list check libxkbcommon ; for xkbcommon-keysyms.h
|
|
|
|
|
pkg-config))
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(synopsis "Xterm state machine library")
|
|
|
|
|
(description "TSM is a state machine for DEC VT100-VT520 compatible
|
2016-08-22 13:39:19 +00:00
|
|
|
|
terminal emulators. It tries to support all common standards while keeping
|
|
|
|
|
compatibility to existing emulators like xterm, gnome-terminal, konsole, etc.")
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/libtsm")
|
|
|
|
|
;; Hash table implementation is lgpl2.1+ licensed.
|
|
|
|
|
;; The wcwidth implementation in external/wcwidth.{h,c} uses a license
|
|
|
|
|
;; derived from ISC.
|
|
|
|
|
;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released
|
|
|
|
|
;; under the bsd 2 license.
|
|
|
|
|
(license (list license:expat license:lgpl2.1+ license:isc license:bsd-2)))))
|
2016-08-22 13:39:53 +00:00
|
|
|
|
|
|
|
|
|
(define-public kmscon
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(let ((commit "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "kmscon")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
;; The freedesktop repository is no longer maintained.
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://github.com/Aetf/" name))
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87"))
|
2018-11-16 11:40:26 +00:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "kmscon-runtime-keymap-switch.patch"))
|
2019-04-15 09:27:15 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-04-15 09:26:44 +00:00
|
|
|
|
`(;; The closure of MESA is huge so we'd rather avoid it.
|
|
|
|
|
#:disallowed-references (,mesa)
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-10-28 02:27:52 +00:00
|
|
|
|
;; Use elogind instead of systemd.
|
|
|
|
|
(add-before 'configure 'remove-systemd
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("libsystemd-daemon libsystemd-login")
|
|
|
|
|
"libelogind"))
|
|
|
|
|
(substitute* "src/uterm_systemd.c"
|
|
|
|
|
(("#include <systemd/sd-login.h>")
|
|
|
|
|
"#include <elogind/sd-login.h>")
|
|
|
|
|
;; We don't have this header.
|
|
|
|
|
(("#include <systemd/sd-daemon\\.h>")
|
|
|
|
|
"")
|
|
|
|
|
;; Replace the call to 'sd_booted' by the truth value.
|
|
|
|
|
(("sd_booted\\(\\)")
|
|
|
|
|
"1")))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config
|
|
|
|
|
autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
libxslt ;to build the man page
|
|
|
|
|
libxml2 ;for XML_CATALOG_FILES
|
|
|
|
|
docbook-xsl))
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
|
("libtsm" ,libtsm)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("logind" ,elogind)
|
2019-04-15 09:26:44 +00:00
|
|
|
|
;; MESA can be used for accelerated video output via OpenGLESv2, but
|
2021-06-06 23:55:50 +00:00
|
|
|
|
;; it's a big dependency that we'd rather avoid in the installation
|
2019-04-15 09:26:44 +00:00
|
|
|
|
;; image.
|
|
|
|
|
;; ("mesa" ,mesa)
|
2018-10-28 02:27:52 +00:00
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("udev" ,eudev)))
|
|
|
|
|
(synopsis "Linux KMS-based terminal emulator")
|
|
|
|
|
(description "Kmscon is a terminal emulator based on Linux's @dfn{kernel
|
2016-09-08 22:01:19 +00:00
|
|
|
|
mode setting} (KMS). It can replace the in-kernel virtual terminal (VT)
|
|
|
|
|
implementation with a user-space console. Compared to the Linux console,
|
|
|
|
|
kmscon provides enhanced features including XKB-compatible internationalized
|
|
|
|
|
keyboard support, UTF-8 input/font support, hardware-accelerated rendering,
|
|
|
|
|
multi-seat support, a replacement for @command{mingetty}, and more.")
|
2018-10-28 02:27:52 +00:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/kmscon")
|
|
|
|
|
;; Hash table implementation is lgpl2.1+ licensed.
|
|
|
|
|
;; The wcwidth implementation in external/wcwidth.{h,c} uses a license
|
|
|
|
|
;; derived from ISC.
|
|
|
|
|
;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released
|
|
|
|
|
;; under the bsd 2 license.
|
|
|
|
|
;; Unifont-Font is from http://unifoundry.com/unifont.html and licensed
|
|
|
|
|
;; under the terms of the GNU GPL.
|
|
|
|
|
(license (list license:expat license:lgpl2.1+ license:bsd-2
|
|
|
|
|
license:gpl2+))
|
|
|
|
|
(supported-systems (filter (cut string-suffix? "-linux" <>)
|
|
|
|
|
%supported-systems)))))
|
2016-09-23 10:52:17 +00:00
|
|
|
|
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(define-public libtermkey
|
|
|
|
|
(package
|
|
|
|
|
(name "libtermkey")
|
2020-11-29 20:48:46 +00:00
|
|
|
|
(version "0.22")
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-02-19 15:22:35 +00:00
|
|
|
|
(uri (string-append "http://www.leonerd.org.uk/code/libtermkey/"
|
|
|
|
|
"libtermkey-" version ".tar.gz"))
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(sha256
|
2020-11-29 20:48:46 +00:00
|
|
|
|
(base32 "002606rrxh5f6l6jrikl0dyxsknscdamq10av21xm0xa98ybsib9"))))
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-11-29 20:21:29 +00:00
|
|
|
|
`(#:make-flags (list
|
|
|
|
|
(string-append "CC=" ,(cc-for-target))
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
2020-11-29 20:48:46 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'patch-failing-test
|
|
|
|
|
;; XXX This undoes an upstream change in version 0.22 which ‘ensures
|
|
|
|
|
;; that the hooked function can invent TI strings for new terminal
|
|
|
|
|
;; types’. That fails in the build environment. Why?
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "t/40ti-override.c"
|
|
|
|
|
(("vt750") "vt100")))))
|
2016-12-07 17:03:09 +00:00
|
|
|
|
#:test-target "test"))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list ncurses))
|
|
|
|
|
(native-inputs (list libtool perl-test-harness pkg-config))
|
2016-12-07 17:03:09 +00:00
|
|
|
|
(synopsis "Keyboard entry processing library for terminal-based programs")
|
|
|
|
|
(description
|
|
|
|
|
"Libtermkey handles all the necessary logic to recognise special keys, UTF-8
|
|
|
|
|
combining, and so on, with a simple interface.")
|
|
|
|
|
(home-page "http://www.leonerd.org.uk/code/libtermkey")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(define-public mlterm
|
|
|
|
|
(package
|
|
|
|
|
(name "mlterm")
|
2022-05-15 00:00:00 +00:00
|
|
|
|
(version "3.9.2")
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
|
|
|
|
|
version "/mlterm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2022-05-15 00:00:00 +00:00
|
|
|
|
(base32 "0br1sdpxw3r7qv814b3qjb8mpigljr9wd5c5422ah76f09zh0h5r"))))
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:configure-flags
|
2022-05-15 00:00:00 +00:00
|
|
|
|
(list "--disable-static"
|
2021-09-05 11:31:02 +00:00
|
|
|
|
"--enable-optimize-redrawing"
|
|
|
|
|
"--with-imagelib=gdk-pixbuf")))
|
2022-05-15 00:00:01 +00:00
|
|
|
|
(native-inputs (list gettext-minimal pkg-config))
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(inputs
|
2022-05-15 00:00:01 +00:00
|
|
|
|
(list cairo
|
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
fribidi
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
gtk+
|
|
|
|
|
libx11
|
|
|
|
|
libxext
|
|
|
|
|
libxft))
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(home-page "http://mlterm.sourceforge.net/")
|
|
|
|
|
(synopsis "Multi-Lingual TERMinal emulator")
|
|
|
|
|
(description
|
|
|
|
|
"mlterm is a multi-lingual terminal emulator. It supports various complex
|
|
|
|
|
character sets and encodings from around the world. It can display double-width
|
|
|
|
|
(e.g. East Asian) glyphs, combining characters used for, e.g., Thai and
|
|
|
|
|
Vietnamese, and bi-directional scripts like Arabic and Hebrew.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2021-11-10 13:41:57 +00:00
|
|
|
|
(define-public mtm
|
|
|
|
|
(package
|
|
|
|
|
(name "mtm")
|
|
|
|
|
(version "1.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/deadpixi/mtm")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0gibrvah059z37jvn1qs4b6kvd4ivk2mfihmcpgx1vz6yg70zghv"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(add-before 'build 'fix-headers
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "config.def.h"
|
|
|
|
|
(("ncursesw/curses.h") "curses.h"))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; install binary
|
|
|
|
|
(mkdir-p (string-append out "bin/"))
|
|
|
|
|
(install-file "mtm" (string-append out "/bin"))
|
|
|
|
|
;; install manpage
|
|
|
|
|
(mkdir-p (string-append out "share/man/man1"))
|
|
|
|
|
(install-file "mtm.1" (string-append out "/share/man/man1"))
|
|
|
|
|
;; install terminfo
|
|
|
|
|
(mkdir-p (string-append out "share/terminfo"))
|
|
|
|
|
(invoke (string-append (assoc-ref inputs "ncurses") "/bin/tic")
|
|
|
|
|
"-x" "-s" "-o"
|
|
|
|
|
(string-append
|
|
|
|
|
out "/share/terminfo")
|
|
|
|
|
"mtm.ti")))))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ncurses))
|
2021-11-10 13:41:57 +00:00
|
|
|
|
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
|
|
|
|
|
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TERMINFO_DIRS")
|
|
|
|
|
(files '("share/terminfo")))))
|
|
|
|
|
(home-page "https://github.com/deadpixi/mtm")
|
|
|
|
|
(synopsis "Micro Terminal Multiplexer")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides multiplexer for the terminal focused on simplicity,
|
|
|
|
|
compatibility, size and stability.")
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:bsd-3)))) ;vtparser.c
|
|
|
|
|
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(define-public picocom
|
|
|
|
|
(package
|
|
|
|
|
(name "picocom")
|
2019-03-11 10:05:45 +00:00
|
|
|
|
(version "3.1")
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(source (origin
|
2018-11-29 21:17:04 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/npat-efault/picocom")
|
2018-11-29 21:17:04 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-11 10:05:45 +00:00
|
|
|
|
"1vvjydqf0ax47nvdyyl67jafw5b3sfsav00xid6qpgia1gs2r72n"))))
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-01-30 11:23:03 +00:00
|
|
|
|
`(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
|
2019-03-11 10:05:45 +00:00
|
|
|
|
#:tests? #f ; no tests
|
2016-09-23 10:52:17 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-11 10:05:45 +00:00
|
|
|
|
(delete 'configure) ; no configure script
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(replace 'install
|
2019-03-11 10:05:45 +00:00
|
|
|
|
;; The Makefile lacks an ‘install’ target.
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "picocom" bin)
|
|
|
|
|
(install-file "picocom.1" man)))))))
|
|
|
|
|
(home-page "https://github.com/npat-efault/picocom")
|
2019-03-11 10:07:11 +00:00
|
|
|
|
(synopsis "Minimal dumb-terminal emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Picocom is a minimal dumb-terminal emulation program. It was designed to
|
|
|
|
|
serve as a simple and manual modem configuration, testing, and debugging tool.
|
|
|
|
|
It also serves well as a low-tech serial communications program to allow access
|
|
|
|
|
to all types of devices that provide serial consoles.")
|
2016-09-23 10:52:17 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-01-04 23:23:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public beep
|
|
|
|
|
(package
|
|
|
|
|
(name "beep")
|
2022-05-08 00:00:04 +00:00
|
|
|
|
(version "1.4.12")
|
2019-02-17 22:26:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
;; The original beep 1.3 at <http://www.johnath.com/beep> has been
|
|
|
|
|
;; unmaintained for some time, and vulnerable to at least two CVEs:
|
|
|
|
|
;; https://github.com/johnath/beep/issues/11#issuecomment-454056858
|
|
|
|
|
;; Use this maintained fork instead.
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/spkr-beep/beep")
|
2019-02-17 22:26:07 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-05-08 00:00:04 +00:00
|
|
|
|
(base32 "0dgrb5yg4ys1fa4hs95iz3m2yhryfzzw0j6g6yf6vhbys4ihcf40"))))
|
2017-01-04 23:23:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-05-08 00:00:01 +00:00
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "CC=" #$(cc-for-target))
|
2022-05-08 00:00:00 +00:00
|
|
|
|
(string-append "prefix=" #$output))
|
2022-05-08 00:00:01 +00:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "GNUmakefile"
|
|
|
|
|
(("/bin/bash")
|
|
|
|
|
(which "bash"))
|
|
|
|
|
;; XXX In the build environment, $(PWD) is the *parent* directory
|
|
|
|
|
;; /tmp/guix-build-beep-x.y.drv-0! A pure guix shell works fine.
|
|
|
|
|
(("\\$\\(PWD\\)" pwd)
|
|
|
|
|
(string-append pwd "/source")))
|
|
|
|
|
(substitute* (find-files "tests" "\\.expected")
|
|
|
|
|
;; The build environment lacks /dev/{console,tty*}.
|
|
|
|
|
;; In fact, even nckx's regular Guix System lacks ttyS1…
|
|
|
|
|
((": Permission denied")
|
|
|
|
|
": No such file or directory")))))))
|
2017-01-04 23:23:18 +00:00
|
|
|
|
(synopsis "Linux command-line utility to control the PC speaker")
|
|
|
|
|
(description "beep allows the user to control the PC speaker with precision,
|
|
|
|
|
allowing different sounds to indicate different events. While it can be run
|
|
|
|
|
quite happily on the command line, its intended place of residence is within
|
|
|
|
|
scripts, notifying the user when something interesting occurs. Of course, it
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 19:31:52 +00:00
|
|
|
|
has no notion of what's interesting, but it's very good at that notifying part.")
|
2019-02-17 22:26:07 +00:00
|
|
|
|
(home-page "https://github.com/spkr-beep/beep")
|
2017-01-04 23:23:18 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-01-18 15:34:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public unibilium
|
|
|
|
|
(package
|
|
|
|
|
(name "unibilium")
|
2019-03-07 08:45:01 +00:00
|
|
|
|
(version "2.0.0")
|
2017-01-18 15:34:18 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 05:49:16 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/mauke/unibilium")
|
2018-11-29 05:49:16 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-18 15:34:18 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-07 08:45:01 +00:00
|
|
|
|
"1wa9a32wzqnxqh1jh554afj13dzjr6mw2wzqzw8d08nza9pg2ra2"))))
|
2017-01-18 15:34:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
;; FIXME: tests require "prove"
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libtool perl))
|
2017-01-18 15:34:18 +00:00
|
|
|
|
(home-page "https://github.com/mauke/unibilium")
|
|
|
|
|
(synopsis "Terminfo parsing library")
|
|
|
|
|
(description "Unibilium is a basic C terminfo library. It doesn't depend
|
|
|
|
|
on curses or any other library. It also doesn't use global variables, so it
|
|
|
|
|
should be thread-safe.")
|
|
|
|
|
(license license:lgpl3+)))
|
2017-01-18 15:34:19 +00:00
|
|
|
|
|
|
|
|
|
(define-public libvterm
|
|
|
|
|
(package
|
|
|
|
|
(name "libvterm")
|
2022-10-01 00:30:31 +00:00
|
|
|
|
(version "0.3")
|
2017-01-18 15:34:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.leonerd.org.uk/code/libvterm/"
|
|
|
|
|
"libvterm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-10-01 00:30:31 +00:00
|
|
|
|
"0n1k923ii618ffkbifi8a89ag8c6m9l49z8dj01dyay551k0vsv1"))))
|
2017-01-18 15:34:19 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libtool perl))
|
2017-01-18 15:34:19 +00:00
|
|
|
|
(home-page "http://www.leonerd.org.uk/code/libvterm/")
|
|
|
|
|
(synopsis "VT220/xterm/ECMA-48 terminal emulator library")
|
|
|
|
|
(description "Libvterm is an abstract C99 library which implements a VT220
|
|
|
|
|
or xterm-like terminal emulator. It doesn't use any particular graphics
|
|
|
|
|
toolkit or output system, instead it invokes callback function pointers that
|
|
|
|
|
its embedding program should provide it to draw on its behalf. It avoids
|
|
|
|
|
calling @code{malloc} during normal running state, allowing it to be used in
|
|
|
|
|
embedded kernel situations.")
|
|
|
|
|
(license license:expat)))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
|
|
|
|
|
(define-public cool-retro-term
|
|
|
|
|
(package
|
|
|
|
|
(name "cool-retro-term")
|
2022-05-03 16:05:03 +00:00
|
|
|
|
(version "1.2.0")
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://github.com/Swordfish90/" name))
|
2022-05-03 16:05:03 +00:00
|
|
|
|
(commit version)
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(sha256
|
2022-05-03 16:05:03 +00:00
|
|
|
|
(base32 "02mj70gcpx9fvrhsy6iqwp399dya9iyakx940b6ws952d23xn337"))
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 regex)))
|
2021-12-28 04:53:46 +00:00
|
|
|
|
(patches (search-patches "cool-retro-term-wctype.patch"))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(snippet
|
2018-03-21 05:04:12 +00:00
|
|
|
|
'(let* ((fonts '(;"1971-ibm-3278" ; BSD 3-clause
|
|
|
|
|
"1977-apple2" ; Non-Free
|
|
|
|
|
"1977-commodore-pet" ; Non-Free
|
|
|
|
|
"1979-atari-400-800" ; Non-Free
|
2019-02-09 06:45:47 +00:00
|
|
|
|
;"1981-ibm-pc ; CC-SA 4.0
|
|
|
|
|
"1982-commodore64")) ; Non-Free
|
|
|
|
|
;"1985-ibm-pc-vga" ; CC-SA 4.0
|
2018-03-21 05:04:12 +00:00
|
|
|
|
;"modern-fixedsys-excelsior" ; Redistributable
|
|
|
|
|
;"modern-hermit" ; SIL
|
|
|
|
|
;"modern-inconsolata"; SIL
|
|
|
|
|
;"modern-pro-font-win-tweaked" ; X11
|
|
|
|
|
;"modern-proggy-tiny"; X11
|
|
|
|
|
;"modern-terminus" ; SIL
|
|
|
|
|
(name-rx (make-regexp " *name: *\"([^\"]*)\""))
|
|
|
|
|
(source-rx (make-regexp " *source: \"fonts/([^/]*)[^\"]*\""))
|
|
|
|
|
(fontname-rx (make-regexp "\"fontName\":\"([^\"]*).*"))
|
|
|
|
|
(names
|
|
|
|
|
;; Gather font names from all Fonts*.qml files.
|
|
|
|
|
;; These will be used to remove items from the
|
|
|
|
|
;; default profiles.
|
|
|
|
|
(fold
|
|
|
|
|
(lambda (font-file names)
|
|
|
|
|
(call-with-input-file font-file
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(let loop ((name #f) (names names))
|
|
|
|
|
(let ((line (read-line port)))
|
|
|
|
|
(cond
|
|
|
|
|
((eof-object? line) (pk 'names names))
|
|
|
|
|
((regexp-exec name-rx line)
|
|
|
|
|
=> (lambda (m)
|
|
|
|
|
(loop (match:substring m 1) names)))
|
|
|
|
|
((regexp-exec source-rx line)
|
|
|
|
|
=> (lambda (m)
|
|
|
|
|
(let ((font (match:substring m 1)))
|
|
|
|
|
(if (member font fonts)
|
|
|
|
|
(loop #f (lset-adjoin string=?
|
|
|
|
|
names name))
|
|
|
|
|
(loop #f names)))))
|
|
|
|
|
(else (loop name names))))))))
|
|
|
|
|
'() (find-files "app/qml" "Font.*\\.qml"))))
|
|
|
|
|
;; Remove the font files themselves
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(for-each (lambda (font)
|
|
|
|
|
(delete-file-recursively
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(string-append "app/qml/fonts/" font)))
|
|
|
|
|
fonts)
|
|
|
|
|
;; Remove mention of those fonts in the source
|
|
|
|
|
(substitute* "app/qml/resources.qrc"
|
|
|
|
|
(((string-append " *<file>fonts/("
|
|
|
|
|
(string-join fonts "|")
|
|
|
|
|
").*"))
|
|
|
|
|
""))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
2022-10-12 14:28:48 +00:00
|
|
|
|
(let ((start-rx (make-regexp " *ListElement *\\{"))
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(end-rx (make-regexp " *\\}")))
|
|
|
|
|
(with-atomic-file-replacement file
|
|
|
|
|
(lambda (in out)
|
|
|
|
|
(let loop ((line-buffer '())
|
|
|
|
|
(hold? #f)
|
|
|
|
|
(discard? #f))
|
|
|
|
|
(let ((line (read-line in 'concat)))
|
|
|
|
|
(cond
|
|
|
|
|
((eof-object? line) #t) ;done
|
|
|
|
|
((regexp-exec start-rx line)
|
|
|
|
|
(loop (cons line line-buffer) #t #f))
|
|
|
|
|
((or (regexp-exec source-rx line)
|
|
|
|
|
(regexp-exec fontname-rx line))
|
|
|
|
|
=> (lambda (m)
|
|
|
|
|
(let ((font-or-name (match:substring m 1)))
|
|
|
|
|
(if (or (member font-or-name fonts)
|
|
|
|
|
(member font-or-name names))
|
|
|
|
|
(loop '() #f #t)
|
|
|
|
|
(loop (cons line line-buffer)
|
|
|
|
|
hold? #f)))))
|
|
|
|
|
((regexp-exec end-rx line)
|
|
|
|
|
(unless discard?
|
|
|
|
|
(for-each (cut display <> out)
|
|
|
|
|
(reverse line-buffer))
|
|
|
|
|
(display line out))
|
|
|
|
|
(loop '() #f #f))
|
|
|
|
|
(hold? (loop (cons line line-buffer)
|
|
|
|
|
hold? discard?))
|
|
|
|
|
(discard? (loop line-buffer #f #t))
|
|
|
|
|
(else (display line out)
|
|
|
|
|
(loop '() #f #f)))))))))
|
|
|
|
|
'("app/qml/FontPixels.qml"
|
|
|
|
|
"app/qml/FontScanlines.qml"
|
|
|
|
|
"app/qml/Fonts.qml"
|
|
|
|
|
"app/qml/ApplicationSettings.qml"))
|
|
|
|
|
;; Final substitution for default scanline and pixel fonts
|
|
|
|
|
(substitute* "app/qml/ApplicationSettings.qml"
|
2022-05-03 16:05:12 +00:00
|
|
|
|
(("COMMODORE_PET") "PROGGY_TINY"))))))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2022-08-08 07:58:44 +00:00
|
|
|
|
(list qtbase-5 qtdeclarative-5 qtgraphicaleffects
|
|
|
|
|
qtquickcontrols-5 qtquickcontrols2-5 bash-minimal))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(substitute* '("qmltermwidget/qmltermwidget.pro")
|
|
|
|
|
(("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]")
|
2017-11-17 01:08:33 +00:00
|
|
|
|
(string-append "INSTALL_DIR = " out "/lib/qt5/qml")))
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(substitute* '("cool-retro-term.pro" "app/app.pro")
|
|
|
|
|
(("/usr") out))
|
|
|
|
|
(invoke "qmake"))))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(qml "/lib/qt5/qml"))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(wrap-program (string-append out "/bin/cool-retro-term")
|
|
|
|
|
`("QML2_IMPORT_PATH" ":" prefix
|
|
|
|
|
(,(string-append out qml)
|
2018-03-21 05:04:12 +00:00
|
|
|
|
,@(map (lambda (i)
|
|
|
|
|
(string-append (assoc-ref inputs i) qml))
|
2022-08-08 07:58:44 +00:00
|
|
|
|
'("qtdeclarative"
|
2018-03-21 05:04:12 +00:00
|
|
|
|
"qtgraphicaleffects"
|
2022-08-08 07:58:44 +00:00
|
|
|
|
"qtquickcontrols"
|
|
|
|
|
"qtquickcontrols2"))))))))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(add-after 'install 'add-alternate-name
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(symlink (string-append bin "/cool-retro-term")
|
2022-05-03 16:05:12 +00:00
|
|
|
|
(string-append bin "/crt")))))
|
2018-03-21 05:04:12 +00:00
|
|
|
|
(add-after 'install 'install-man
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((mandir (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/man/man1")))
|
2022-05-03 16:05:12 +00:00
|
|
|
|
(install-file "packaging/debian/cool-retro-term.1" mandir)))))))
|
2017-04-23 11:46:41 +00:00
|
|
|
|
(synopsis "Terminal emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Cool-retro-term (crt) is a terminal emulator which mimics the look and
|
|
|
|
|
feel of the old cathode ray tube (CRT) screens. It has been designed to be
|
|
|
|
|
eye-candy, customizable, and reasonably lightweight.")
|
|
|
|
|
(home-page "https://github.com/Swordfish90/cool-retro-term")
|
|
|
|
|
(license (list
|
|
|
|
|
license:gpl2+ ; qmltermwidget
|
|
|
|
|
license:gpl3+ ; cool-retro-term
|
|
|
|
|
;; Fonts
|
|
|
|
|
license:silofl1.1
|
|
|
|
|
license:x11
|
2022-05-03 16:05:03 +00:00
|
|
|
|
license:bsd-3))))
|
2017-10-30 17:47:50 +00:00
|
|
|
|
|
2020-12-06 15:48:22 +00:00
|
|
|
|
(define-public foot
|
|
|
|
|
(package
|
|
|
|
|
(name "foot")
|
2022-09-03 08:19:43 +00:00
|
|
|
|
(version "1.13.1")
|
2020-12-06 15:48:22 +00:00
|
|
|
|
(home-page "https://codeberg.org/dnkl/foot")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-09-03 08:19:43 +00:00
|
|
|
|
"0k0zbh6adwr99y9aazlyvp6s1k8zaq2j6x8kqb8q9a5qjjg56lay"))))
|
2020-12-06 15:48:22 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
2021-05-16 07:25:11 +00:00
|
|
|
|
`(;; Using a "release" build is recommended both for performance, and
|
2020-12-06 15:48:22 +00:00
|
|
|
|
;; also to address a GCC 10 issue when doing PGO builds.
|
|
|
|
|
#:build-type "release"
|
|
|
|
|
;; Enable LTO as recommended by INSTALL.md.
|
|
|
|
|
#:configure-flags '("-Db_lto=true")))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ncurses ;for 'tic'
|
|
|
|
|
pkg-config scdoc wayland-protocols))
|
2020-12-06 15:48:22 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list fcft libxkbcommon wayland))
|
2020-12-06 15:48:22 +00:00
|
|
|
|
(synopsis "Wayland-native terminal emulator")
|
|
|
|
|
(description
|
|
|
|
|
"@command{foot} is a terminal emulator for systems using the Wayland
|
|
|
|
|
display server. It is designed to be fast, lightweight, and independent of
|
|
|
|
|
desktop environments. It can be used as a standalone terminal and also has
|
|
|
|
|
a server/client mode.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(define-public sakura
|
|
|
|
|
(package
|
|
|
|
|
(name "sakura")
|
2021-11-27 15:02:48 +00:00
|
|
|
|
(version "3.8.4")
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-06-02 01:49:14 +00:00
|
|
|
|
(uri (string-append "https://launchpad.net/sakura/trunk/"
|
|
|
|
|
version "/+download/sakura-" version
|
2020-06-02 01:49:21 +00:00
|
|
|
|
".tar.bz2"))
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-27 15:02:48 +00:00
|
|
|
|
"1d8n32xnj21q2xx13xs2r9cfjaq31mxiyhx6d57x9cwnhwb11xn3"))))
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-05-31 00:40:45 +00:00
|
|
|
|
'(#:tests? #f)) ; no check phase
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2018-05-31 00:40:45 +00:00
|
|
|
|
("perl" ,perl) ; for pod2man
|
2017-10-30 17:47:50 +00:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libxft vte))
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(home-page "https://launchpad.net/sakura")
|
2021-12-31 05:10:29 +00:00
|
|
|
|
(synopsis "Simple but powerful libvte-based terminal emulator")
|
2017-10-30 17:47:50 +00:00
|
|
|
|
(description "@code{Sakura} is a terminal emulator based on GTK+ and VTE.
|
|
|
|
|
It's a terminal emulator with few dependencies, so you don't need a full GNOME
|
|
|
|
|
desktop installed to have a decent terminal emulator.")
|
|
|
|
|
(license license:gpl2)))
|
2018-01-21 10:41:37 +00:00
|
|
|
|
|
2018-01-21 10:54:14 +00:00
|
|
|
|
(define-public go-github.com-nsf-termbox-go
|
2019-05-13 21:06:19 +00:00
|
|
|
|
(let ((commit "288510b9734e30e7966ec2f22b87c5f8e67345e3")
|
|
|
|
|
(revision "1"))
|
2018-01-21 10:54:14 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "go-github.com-nsf-termbox-go")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/nsf/termbox-go")
|
2018-01-21 10:54:14 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-05-13 21:06:19 +00:00
|
|
|
|
"0hdyisfaf8yb55h3p03p4sbq19546mp9fy28f2kn659mycmhxqk4"))))
|
2018-01-21 10:54:14 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/nsf/termbox-go"))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list go-github.com-mattn-go-runewidth))
|
2018-01-21 10:54:14 +00:00
|
|
|
|
(synopsis "@code{termbox} provides a minimal API for text-based user
|
|
|
|
|
interfaces")
|
|
|
|
|
(description
|
|
|
|
|
"Termbox is a library that provides a minimalistic API which allows the
|
|
|
|
|
programmer to write text-based user interfaces.")
|
|
|
|
|
(home-page "https://github.com/nsf/termbox-go")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
2019-06-25 18:48:43 +00:00
|
|
|
|
(define-public go-github-com-junegunn-fzf
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-junegunn-fzf")
|
2022-10-19 01:30:47 +00:00
|
|
|
|
(version "0.34.0")
|
2019-06-25 18:48:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/junegunn/fzf")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-10-19 01:30:47 +00:00
|
|
|
|
"023ksrmjg99svmkpnlh4k7gssv1sz2nl0v5b6bsr2iragvwrgkf4"))))
|
2019-06-25 18:48:43 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/junegunn/fzf"))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list go-github.com-mattn-go-runewidth
|
|
|
|
|
go-github-com-mattn-go-shellwords
|
|
|
|
|
go-github-com-mattn-go-isatty
|
|
|
|
|
go-github-com-gdamore-tcell
|
2022-10-19 01:30:47 +00:00
|
|
|
|
go-github-com-rivo-uniseg
|
2021-12-13 16:18:24 +00:00
|
|
|
|
go-github-com-saracen-walker
|
|
|
|
|
go-golang.org-x-sync-errgroup
|
2022-10-19 01:30:47 +00:00
|
|
|
|
go-golang-org-x-term
|
2021-12-13 16:18:24 +00:00
|
|
|
|
go-golang-org-x-crypto))
|
2019-06-25 18:48:43 +00:00
|
|
|
|
(home-page "https://github.com/junegunn/fzf")
|
|
|
|
|
(synopsis "Command-line fuzzy-finder")
|
|
|
|
|
(description "This package provides an interactive command-line filter
|
|
|
|
|
usable with any list--including files, command history, processes and more.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-02-08 17:08:27 +00:00
|
|
|
|
(define-public fzf
|
|
|
|
|
(package
|
|
|
|
|
(inherit go-github-com-junegunn-fzf)
|
|
|
|
|
(name "fzf")
|
|
|
|
|
(arguments
|
|
|
|
|
(ensure-keyword-arguments
|
|
|
|
|
(package-arguments go-github-com-junegunn-fzf)
|
2021-09-26 12:00:13 +00:00
|
|
|
|
`(#:install-source? #f
|
|
|
|
|
#:phases
|
2021-02-08 17:08:27 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'copy-binaries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(with-directory-excursion "src/github.com/junegunn/fzf"
|
|
|
|
|
(install-file "bin/fzf-tmux"
|
|
|
|
|
(string-append out "/bin"))))))
|
|
|
|
|
(add-after 'copy-binaries 'wrap-programs
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
2021-12-08 17:12:45 +00:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(findutils (assoc-ref inputs "findutils"))
|
|
|
|
|
(ncurses (assoc-ref inputs "ncurses")))
|
|
|
|
|
(wrap-program (string-append bin "/fzf")
|
|
|
|
|
`("PATH" ":" prefix (,(string-append findutils "/bin"))))
|
|
|
|
|
(wrap-program (string-append bin "/fzf-tmux")
|
2021-02-08 17:08:27 +00:00
|
|
|
|
`("PATH" ":" prefix (,(string-append ncurses "/bin")))))))
|
|
|
|
|
(add-after 'install 'install-completions
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bash-completion (string-append out "/etc/bash_completion.d"))
|
2021-10-03 11:57:29 +00:00
|
|
|
|
(fish-functions
|
|
|
|
|
(string-append out "/share/fish/vendor_functions.d"))
|
2021-02-08 17:08:27 +00:00
|
|
|
|
(zsh-completion (string-append out "/share/zsh/site-functions")))
|
|
|
|
|
(with-directory-excursion "src/github.com/junegunn/fzf"
|
|
|
|
|
(mkdir-p bash-completion)
|
|
|
|
|
(copy-file "shell/completion.bash"
|
|
|
|
|
(string-append bash-completion "/fzf"))
|
2021-10-03 11:57:29 +00:00
|
|
|
|
(mkdir-p fish-functions)
|
2021-05-25 08:16:50 +00:00
|
|
|
|
(copy-file "shell/key-bindings.fish"
|
2021-10-03 11:57:29 +00:00
|
|
|
|
(string-append fish-functions "/fzf_key_bindings.fish"))
|
2021-02-08 17:08:27 +00:00
|
|
|
|
(mkdir-p zsh-completion)
|
|
|
|
|
(copy-file "shell/completion.zsh"
|
|
|
|
|
(string-append zsh-completion "/_fzf"))))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(,@(package-inputs go-github-com-junegunn-fzf)
|
2021-12-08 17:12:45 +00:00
|
|
|
|
("findutils" ,findutils)
|
2021-02-08 17:08:27 +00:00
|
|
|
|
("ncurses" ,ncurses)))))
|
|
|
|
|
|
2018-01-21 10:42:14 +00:00
|
|
|
|
(define-public go-github.com-howeyc-gopass
|
|
|
|
|
(let ((commit "bf9dde6d0d2c004a008c27aaee91170c786f6db8")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github.com-howeyc-gopass")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/howeyc/gopass")
|
2018-01-21 10:42:14 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jxzyfnqi0h1fzlsvlkn10bncic803bfhslyijcxk55mgh297g45"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/howeyc/gopass"))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list go-golang-org-x-crypto))
|
2018-01-21 10:42:14 +00:00
|
|
|
|
(synopsis "Retrieve password from a terminal or piped input in Go")
|
|
|
|
|
(description
|
|
|
|
|
"@code{gopass} is a Go package for retrieving a password from user
|
|
|
|
|
terminal or piped input.")
|
|
|
|
|
(home-page "https://github.com/howeyc/gopass")
|
|
|
|
|
(license license:isc))))
|
2018-02-03 19:44:13 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-pyte
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyte")
|
|
|
|
|
(version "0.7.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyte" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-failing-test
|
|
|
|
|
;; TODO: Reenable when the `captured` files required by this test
|
|
|
|
|
;; are included in the archive.
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "tests/test_input_output.py")
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-wcwidth))
|
2018-02-03 19:44:13 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pytest-runner python-pytest))
|
2018-02-03 19:44:13 +00:00
|
|
|
|
(home-page "https://pyte.readthedocs.io/")
|
|
|
|
|
(synopsis "Simple VTXXX-compatible terminal emulator")
|
|
|
|
|
(description "@code{pyte} is an in-memory VTxxx-compatible terminal
|
|
|
|
|
emulator. @var{VTxxx} stands for a series of video terminals, developed by
|
|
|
|
|
DEC between 1970 and 1995. The first and probably most famous one was the
|
|
|
|
|
VT100 terminal, which is now a de-facto standard for all virtual terminal
|
|
|
|
|
emulators.
|
|
|
|
|
|
|
|
|
|
pyte is a fork of vt102, which was an incomplete pure Python implementation
|
|
|
|
|
of VT100 terminal.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2016-12-31 13:59:36 +00:00
|
|
|
|
(define-public python-blessings
|
|
|
|
|
(package
|
|
|
|
|
(name "python-blessings")
|
2019-12-13 13:06:27 +00:00
|
|
|
|
(version "1.7")
|
2016-12-31 13:59:36 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "blessings" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-13 13:06:27 +00:00
|
|
|
|
"0z8mgkbmisxs10rz88qg46l1c9a8n08k8cy2iassal2zh16qbrcq"))))
|
2016-12-31 13:59:36 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-12-13 13:06:39 +00:00
|
|
|
|
;; FIXME: Test suite is unable to detect TTY conditions.
|
2016-12-31 13:59:36 +00:00
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-nose python-six))
|
2016-12-31 13:59:36 +00:00
|
|
|
|
(home-page "https://github.com/erikrose/blessings")
|
|
|
|
|
(synopsis "Python module to manage terminal color, styling, and
|
|
|
|
|
positioning")
|
|
|
|
|
(description "Blessings is a pythonic API to manipulate terminal color,
|
|
|
|
|
styling, and positioning. It provides similar features to curses but avoids
|
|
|
|
|
some of curses’s limitations: it does not require clearing the whole screen
|
|
|
|
|
for little changes, provides a scroll-back buffer after the program exits, and
|
|
|
|
|
avoids styling altogether when the output is redirected to something other
|
|
|
|
|
than a terminal.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-12-31 14:00:35 +00:00
|
|
|
|
(define-public python-curtsies
|
|
|
|
|
(package
|
|
|
|
|
(name "python-curtsies")
|
2022-10-16 00:00:01 +00:00
|
|
|
|
(version "0.4.0")
|
2016-12-31 14:00:35 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "curtsies" version))
|
|
|
|
|
(sha256
|
2022-10-16 00:00:01 +00:00
|
|
|
|
(base32 "1zj284kacv0d10ab3amkkx37hcciylkqympsksi9bwzy6g7fyafb"))))
|
2016-12-31 14:00:35 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "nosetests" "-v"))))))
|
|
|
|
|
(propagated-inputs
|
2022-10-16 00:00:01 +00:00
|
|
|
|
(list python-blessed python-cwcwidth))
|
2016-12-31 14:00:35 +00:00
|
|
|
|
(native-inputs
|
2022-10-16 00:00:01 +00:00
|
|
|
|
(list python-pyte python-nose))
|
2021-01-06 19:22:55 +00:00
|
|
|
|
(home-page "https://github.com/bpython/curtsies")
|
2016-12-31 14:00:35 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(define-public tmate
|
|
|
|
|
(package
|
|
|
|
|
(name "tmate")
|
2020-03-27 00:51:13 +00:00
|
|
|
|
(version "2.4.0")
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 21:17:22 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/tmate-io/tmate")
|
2018-11-29 21:17:22 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-27 00:51:13 +00:00
|
|
|
|
"0x5c31yq7ansmiy20a0qf59wagba9v3pq97mlkxrqxn4n1gcc6vi"))))
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libevent libssh msgpack ncurses))
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake pkg-config))
|
2018-06-13 07:56:15 +00:00
|
|
|
|
(home-page "https://tmate.io/")
|
|
|
|
|
(synopsis "Terminal sharing application")
|
|
|
|
|
(description "tmate is a terminal sharing application that allows you to
|
|
|
|
|
share your terminal with other users over the Internet. tmate is a fork of
|
|
|
|
|
tmux.")
|
|
|
|
|
(license license:isc)))
|
2018-12-26 11:41:58 +00:00
|
|
|
|
|
|
|
|
|
(define-public kitty
|
|
|
|
|
(package
|
|
|
|
|
(name "kitty")
|
2021-05-07 13:13:38 +00:00
|
|
|
|
(version "0.20.3")
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(home-page "https://sw.kovidgoyal.net/kitty/")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/kovidgoyal/kitty")
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-05-07 13:13:38 +00:00
|
|
|
|
(base32 "13qv4469q9q2xdrb77lbyw4dz491zf1qvqx4adp0dd9annnlir5c"))
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; patch needed as sphinx-build is used as a python script
|
|
|
|
|
;; whereas the guix package uses a bash script launching the
|
|
|
|
|
;; python script
|
|
|
|
|
(substitute* "docs/conf.py"
|
|
|
|
|
(("(from kitty.constants import str_version)" kitty-imp)
|
|
|
|
|
(string-append "sys.path.append(\"..\")\n" kitty-imp)))
|
|
|
|
|
(substitute* "docs/Makefile"
|
|
|
|
|
(("^SPHINXBUILD[[:space:]]+= (python3.*)$")
|
|
|
|
|
"SPHINXBUILD = sphinx-build\n"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2020-12-14 17:55:53 +00:00
|
|
|
|
`(("libdbus" ,dbus)
|
|
|
|
|
("libgl1-mesa" ,mesa)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2020-12-14 17:55:53 +00:00
|
|
|
|
("libxrandr" ,libxrandr)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
("ncurses" ,ncurses) ;; for tic command
|
2020-12-14 17:55:53 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("sphinx" ,python-sphinx)
|
2018-12-26 11:41:58 +00:00
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
2020-12-14 17:55:53 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("libcanberra" ,libcanberra)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("pygments" ,python-pygments)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("zlib" ,zlib)))
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
2020-12-14 17:53:15 +00:00
|
|
|
|
(delete 'configure) ;no configure script
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(replace 'build
|
2020-12-14 17:53:15 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The "kitty" sub-directory must be writable prior to
|
|
|
|
|
;; configuration (e.g., un-setting updates).
|
|
|
|
|
(for-each make-file-writable (find-files "kitty"))
|
|
|
|
|
|
|
|
|
|
(invoke "python3" "setup.py" "linux-package"
|
|
|
|
|
;; Do not phone home.
|
|
|
|
|
"--update-check-interval=0"
|
|
|
|
|
;; Wayland backend requires EGL, which isn't
|
|
|
|
|
;; found out-of-the-box for some reason.
|
|
|
|
|
(string-append "--egl-library="
|
|
|
|
|
(assoc-ref inputs "libgl1-mesa")
|
|
|
|
|
"/lib/libEGL.so.1"))))
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2020-12-14 17:53:15 +00:00
|
|
|
|
;; Fix "cannot find kitty executable" error when running
|
|
|
|
|
;; tests.
|
|
|
|
|
(setenv "PATH" (string-append "linux-package/bin:"
|
|
|
|
|
(getenv "PATH")))
|
|
|
|
|
(invoke "python3" "test.py")))
|
2018-12-26 11:41:58 +00:00
|
|
|
|
(add-before 'install 'rm-pycache
|
|
|
|
|
;; created python cache __pycache__ are non deterministic
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((pycaches (find-files "linux-package/"
|
|
|
|
|
"__pycache__"
|
|
|
|
|
#:directories? #t)))
|
|
|
|
|
(for-each delete-file-recursively pycaches)
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(obin (string-append out "/bin"))
|
|
|
|
|
(olib (string-append out "/lib"))
|
|
|
|
|
(oshare (string-append out "/share")))
|
|
|
|
|
(copy-recursively "linux-package/bin" obin)
|
|
|
|
|
(copy-recursively "linux-package/share" oshare)
|
|
|
|
|
(copy-recursively "linux-package/lib" olib)
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Fast, featureful, GPU based terminal emulator")
|
|
|
|
|
(description "Kitty is a fast and featureful GPU-based terminal emulator:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Offloads rendering to the GPU for lower system load and buttery smooth
|
|
|
|
|
scrolling. Uses threaded rendering to minimize input latency.
|
|
|
|
|
@item Supports all modern terminal features: graphics (images), unicode,
|
|
|
|
|
true-color, OpenType ligatures, mouse protocol, focus tracking, bracketed
|
|
|
|
|
paste and several new terminal protocol extensions.
|
|
|
|
|
@item Supports tiling multiple terminal windows side by side in different
|
|
|
|
|
layouts without needing to use an extra program like tmux.
|
|
|
|
|
@item Can be controlled from scripts or the shell prompt, even over SSH.
|
|
|
|
|
@item Has a framework for Kittens, small terminal programs that can be used to
|
|
|
|
|
extend kitty's functionality. For example, they are used for Unicode input,
|
|
|
|
|
hints, and side-by-side diff.
|
|
|
|
|
@item Supports startup sessions which allow you to specify the window/tab
|
|
|
|
|
layout, working directories and programs to run on startup.
|
|
|
|
|
@item Allows you to open the scrollback buffer in a separate window using
|
|
|
|
|
arbitrary programs of your choice. This is useful for browsing the history
|
|
|
|
|
comfortably in a pager or editor.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl3+)))
|
2019-03-05 19:18:08 +00:00
|
|
|
|
|
|
|
|
|
(define-public eternalterminal
|
|
|
|
|
(package
|
|
|
|
|
(name "eternalterminal")
|
2020-11-25 14:11:11 +00:00
|
|
|
|
(version "6.0.13")
|
2019-03-05 19:18:08 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/MisterTea/EternalTerminal")
|
2019-03-05 19:18:08 +00:00
|
|
|
|
(commit (string-append "et-v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-25 14:11:11 +00:00
|
|
|
|
(base32 "0sb1hypg2276y8c2a5vivrkcxp70swddvhnd9h273if3kv6j879r"))))
|
2019-03-05 19:18:08 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("-DBUILD_TEST=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'insert-googletests
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((tests (assoc-ref inputs "googletest")))
|
2019-03-28 08:33:34 +00:00
|
|
|
|
(copy-recursively tests "external/googletest"))
|
2019-03-05 19:18:08 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gflags libsodium protobuf))
|
2019-03-05 19:18:08 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googletest" ,(package-source googletest))))
|
|
|
|
|
(home-page "https://mistertea.github.io/EternalTerminal/")
|
|
|
|
|
(synopsis "Remote shell that reconnects without interrupting the session")
|
|
|
|
|
(description "@dfn{Eternal Terminal} (ET) is a remote shell that
|
|
|
|
|
automatically reconnects without interrupting the session. ET uses SSH to
|
|
|
|
|
initialize a secure connection. Unlike SSH sessions, which must be killed and
|
|
|
|
|
reconnected after a network outage an ET session will survive network outages
|
|
|
|
|
and IP roaming. ET provides the same core functionality as @command{mosh},
|
|
|
|
|
while also supporting native scrolling and @command{tmux} control mode
|
|
|
|
|
(@code{tmux -CC}).")
|
|
|
|
|
(license license:asl2.0)))
|
2019-08-18 20:48:04 +00:00
|
|
|
|
|
|
|
|
|
(define-public wterm
|
2022-08-06 09:13:31 +00:00
|
|
|
|
(deprecated-package "wterm" foot))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
|
2021-04-26 18:58:30 +00:00
|
|
|
|
(define-public tio
|
|
|
|
|
(package
|
|
|
|
|
(name "tio")
|
2022-03-31 10:55:45 +00:00
|
|
|
|
(version "1.36")
|
2021-04-26 18:58:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/tio/tio/releases/download/v"
|
|
|
|
|
version "/tio-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2022-03-31 10:55:45 +00:00
|
|
|
|
(base32 "0z27ghxjiw7y587l49jsb0anylm08m7imqjiwr21k1frxvydswsa"))))
|
2022-03-01 09:47:23 +00:00
|
|
|
|
(build-system meson-build-system)
|
2022-03-31 10:55:45 +00:00
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs (list libinih))
|
2021-04-26 18:58:30 +00:00
|
|
|
|
(home-page "https://tio.github.io/")
|
|
|
|
|
(synopsis "Simple TTY terminal I/O application")
|
|
|
|
|
(description "tio is a simple TTY terminal application which features a
|
|
|
|
|
straightforward commandline interface to easily connect to TTY devices for
|
|
|
|
|
basic input/output.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(define-public alacritty
|
|
|
|
|
(package
|
|
|
|
|
(name "alacritty")
|
2021-09-06 09:25:48 +00:00
|
|
|
|
(version "0.9.0")
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-01-30 17:41:30 +00:00
|
|
|
|
;; XXX: The crate at "crates.io" has limited contents. In particular,
|
|
|
|
|
;; it does not contain "extra" directory with completions, icon, etc.
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/jwilm/alacritty")
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-09-06 09:25:48 +00:00
|
|
|
|
(base32 "068y0b1a0m33r7a3j2xf6k602sc8062gm4d5568ynfx6w5n481lj"))))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
2021-03-14 17:52:12 +00:00
|
|
|
|
`(#:install-source? #f ; virtual manifest
|
|
|
|
|
#:cargo-test-flags '("--release" "--" "--skip=config_read_eof")
|
2021-01-30 17:41:30 +00:00
|
|
|
|
#:cargo-inputs
|
|
|
|
|
(("rust-alacritty-config-derive" ,rust-alacritty-config-derive-0.1)
|
2021-09-06 09:25:48 +00:00
|
|
|
|
("rust-alacritty-terminal" ,rust-alacritty-terminal-0.15)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
("rust-clap" ,rust-clap-2)
|
|
|
|
|
("rust-cocoa" ,rust-cocoa-0.24)
|
|
|
|
|
("rust-copypasta" ,rust-copypasta-0.7)
|
2021-09-06 09:25:48 +00:00
|
|
|
|
("rust-crossfont" ,rust-crossfont-0.3)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
("rust-embed-resource" ,rust-embed-resource-1)
|
|
|
|
|
("rust-fnv" ,rust-fnv-1)
|
|
|
|
|
("rust-gl-generator" ,rust-gl-generator-0.14)
|
|
|
|
|
;; XXX: Adjust `add-absolute-library-references' phase when updating
|
|
|
|
|
;; glutin input.
|
|
|
|
|
("rust-glutin" ,rust-glutin-0.26)
|
2020-02-02 18:31:24 +00:00
|
|
|
|
("rust-log" ,rust-log-0.4)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
("rust-notify" ,rust-notify-4)
|
|
|
|
|
("rust-objc" ,rust-objc-0.2)
|
|
|
|
|
("rust-parking-lot" ,rust-parking-lot-0.11)
|
|
|
|
|
("rust-png" ,rust-png-0.16)
|
|
|
|
|
("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
|
2020-07-21 07:37:53 +00:00
|
|
|
|
("rust-serde" ,rust-serde-1)
|
2020-07-21 07:37:54 +00:00
|
|
|
|
("rust-serde-json" ,rust-serde-json-1)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
("rust-serde-yaml" ,rust-serde-yaml-0.8)
|
|
|
|
|
("rust-time" ,rust-time-0.1)
|
2020-02-02 18:31:24 +00:00
|
|
|
|
("rust-urlocator" ,rust-urlocator-0.1)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
("rust-x11-dl" ,rust-x11-dl-2)
|
|
|
|
|
("rust-xdg" ,rust-xdg-2))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-01-21 22:44:17 +00:00
|
|
|
|
(add-after 'unpack 'use-new-nix
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "alacritty_terminal/Cargo.toml"
|
|
|
|
|
(("0.22.0") "^0.23.0"))))
|
2020-11-27 19:51:13 +00:00
|
|
|
|
(add-after 'configure 'add-absolute-library-references
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(lambda* (#:key inputs cargo-inputs vendor-dir #:allow-other-keys)
|
2021-01-30 17:41:30 +00:00
|
|
|
|
(let* ((glutin-name ,(package-name rust-glutin-0.26))
|
|
|
|
|
(glutin-version ,(package-version rust-glutin-0.26))
|
2020-11-27 19:51:13 +00:00
|
|
|
|
(glutin-api (string-append glutin-name "-" glutin-version
|
|
|
|
|
".tar.gz/src/api/"))
|
2021-02-16 15:37:52 +00:00
|
|
|
|
(smithay-client-toolkit-name
|
|
|
|
|
,(package-name rust-smithay-client-toolkit-0.12))
|
|
|
|
|
(smithay-client-toolkit-version
|
|
|
|
|
,(package-version rust-smithay-client-toolkit-0.12))
|
|
|
|
|
(smithay-client-toolkit-src
|
|
|
|
|
(string-append smithay-client-toolkit-name "-"
|
|
|
|
|
smithay-client-toolkit-version ".tar.gz/src"))
|
|
|
|
|
(libxkbcommon (assoc-ref inputs "libxkbcommon"))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(mesa (assoc-ref inputs "mesa")))
|
2021-02-16 21:48:17 +00:00
|
|
|
|
;; Fix dlopen()ing some libraries on pure Wayland (no $DISPLAY):
|
|
|
|
|
;; Failed to initialize any backend! Wayland status: NoWaylandLib
|
|
|
|
|
;; XXX We patch transitive dependencies that aren't even direct
|
|
|
|
|
;; inputs to this package, because of the way Guix's Rust build
|
|
|
|
|
;; system currently works. <http://issues.guix.gnu.org/46399>
|
|
|
|
|
;; might fix this and allow patching them directly.
|
2021-02-16 15:37:52 +00:00
|
|
|
|
(substitute* (string-append vendor-dir "/"
|
|
|
|
|
smithay-client-toolkit-src
|
|
|
|
|
"/seat/keyboard/ffi.rs")
|
|
|
|
|
(("libxkbcommon\\.so")
|
|
|
|
|
(string-append libxkbcommon "/lib/libxkbcommon.so")))
|
2021-02-16 21:48:17 +00:00
|
|
|
|
|
|
|
|
|
;; Mesa is needed everywhere.
|
2021-01-30 17:41:30 +00:00
|
|
|
|
(substitute*
|
|
|
|
|
(string-append vendor-dir "/" glutin-api "glx/mod.rs")
|
|
|
|
|
(("libGL.so") (string-append mesa "/lib/libGL.so")))
|
|
|
|
|
(substitute*
|
|
|
|
|
(string-append vendor-dir "/" glutin-api "egl/mod.rs")
|
|
|
|
|
(("libEGL.so") (string-append mesa "/lib/libEGL.so")))
|
|
|
|
|
#t)))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(replace 'install
|
2021-01-30 17:41:30 +00:00
|
|
|
|
;; Upstream install script only takes care of executable.
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-08-10 17:40:12 +00:00
|
|
|
|
(bin (string-append out "/bin"))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(icons (string-append share "/icons/hicolor/scalable/apps"))
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(tic (search-input-file inputs "/bin/tic"))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(man (string-append share "/man/man1"))
|
|
|
|
|
(alacritty-bin "target/release/alacritty"))
|
2020-11-27 19:51:13 +00:00
|
|
|
|
;; Install the executable.
|
2020-08-10 17:40:12 +00:00
|
|
|
|
(install-file alacritty-bin bin)
|
|
|
|
|
;; Install man pages.
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(copy-file "extra/alacritty.man"
|
|
|
|
|
(string-append man "/alacritty.1"))
|
2020-08-10 17:40:12 +00:00
|
|
|
|
;; Install desktop file.
|
2021-01-30 17:41:30 +00:00
|
|
|
|
(install-file "extra/linux/Alacritty.desktop"
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(string-append share "/applications"))
|
2021-01-30 17:41:30 +00:00
|
|
|
|
;; Install icon.
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(mkdir-p icons)
|
|
|
|
|
(copy-file "extra/logo/alacritty-term.svg"
|
|
|
|
|
(string-append icons "/Alacritty.svg"))
|
2020-08-10 17:40:12 +00:00
|
|
|
|
;; Install terminfo.
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(mkdir-p (string-append share "/terminfo"))
|
|
|
|
|
;; We don't compile alacritty-common entry because
|
|
|
|
|
;; it's being used only for inheritance.
|
|
|
|
|
(invoke tic "-x" "-e" "alacritty,alacritty-direct"
|
|
|
|
|
"-o" (string-append share "/terminfo/")
|
|
|
|
|
"extra/alacritty.info")
|
2020-08-10 17:40:12 +00:00
|
|
|
|
;; Install completions.
|
2021-01-30 17:41:30 +00:00
|
|
|
|
(install-file "extra/completions/alacritty.bash"
|
|
|
|
|
(string-append out "/etc/bash_completion.d"))
|
|
|
|
|
(install-file "extra/completions/_alacritty"
|
|
|
|
|
(string-append share "/zsh/site-functions"))
|
|
|
|
|
(install-file "extra/completions/alacritty.fish"
|
|
|
|
|
(string-append share "/fish/vendor_completions.d"))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
#t))))))
|
2021-01-30 17:41:30 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmake" ,cmake)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python3" ,python)))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
2021-03-15 12:47:23 +00:00
|
|
|
|
("mesa" ,mesa)
|
2021-03-15 13:14:02 +00:00
|
|
|
|
("rust-bitflags" ,rust-bitflags-1)
|
2021-09-06 09:25:48 +00:00
|
|
|
|
("rust-dirs" ,rust-dirs-3)
|
2021-03-15 13:14:02 +00:00
|
|
|
|
("rust-libc" ,rust-libc-0.2)
|
|
|
|
|
("rust-unicode-width" ,rust-unicode-width-0.1)
|
2021-03-15 12:47:23 +00:00
|
|
|
|
("rust-wayland-client" ,rust-wayland-client-0.28)
|
2021-03-15 13:14:02 +00:00
|
|
|
|
("rust-winapi" ,rust-winapi-0.3)
|
2021-03-15 12:47:23 +00:00
|
|
|
|
("wayland" ,wayland)))
|
2020-10-20 21:51:19 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
|
|
|
|
|
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TERMINFO_DIRS")
|
|
|
|
|
(files '("share/terminfo")))))
|
2020-02-02 18:31:24 +00:00
|
|
|
|
(home-page "https://github.com/alacritty/alacritty")
|
|
|
|
|
(synopsis "GPU-accelerated terminal emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Alacritty is a GPU-accelerated terminal emulator with a strong focus on
|
|
|
|
|
simplicity and performance. With such a strong focus on performance, included
|
|
|
|
|
features are carefully considered and you can always expect Alacritty to be
|
|
|
|
|
blazingly fast. By making sane choices for defaults, Alacritty requires no
|
|
|
|
|
additional setup. However, it does allow configuration of many aspects of the
|
|
|
|
|
terminal. Note that you need support for OpenGL 3.2 or higher.")
|
|
|
|
|
(license license:asl2.0)))
|
2020-12-14 19:55:39 +00:00
|
|
|
|
|
|
|
|
|
(define-public bootterm
|
|
|
|
|
(package
|
|
|
|
|
(name "bootterm")
|
2021-02-15 22:48:27 +00:00
|
|
|
|
(version "0.4")
|
2020-12-14 19:55:39 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-09-05 11:31:02 +00:00
|
|
|
|
(url "https://github.com/wtarreau/bootterm")
|
|
|
|
|
(commit (string-append "v" version))))
|
2020-12-14 19:55:39 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-15 22:48:27 +00:00
|
|
|
|
"1k3jacld98za41dbpr10sjms77hrw91sb10m0cnwv3h7aifiwmrs"))))
|
2020-12-14 19:55:39 +00:00
|
|
|
|
(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))))))
|
|
|
|
|
(home-page "https://github.com/wtarreau/bootterm")
|
|
|
|
|
(synopsis "Serial terminal")
|
|
|
|
|
(description "Bootterm is a terminal designed to ease connection to
|
|
|
|
|
ephemeral serial ports. It features automatic port detection, port enumeration,
|
|
|
|
|
support for non-standard baud rates, the ability to wait for ports to appear,
|
|
|
|
|
and the ability to read and write via stdin and stdout.")
|
|
|
|
|
(license license:expat)))
|