2016-12-07 17:53:22 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2016 José Miguel Sánchez García <jmi2k@openmailbox.org>
|
2016-12-29 16:15:59 +01:00
|
|
|
|
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
2022-08-31 06:49:04 +02:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020, 2022 Eric Bavier <bavier@posteo.net>
|
2017-04-09 03:28:47 +02:00
|
|
|
|
;;; Copyright © 2017 Feng Shu <tumashu@163.com>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2017-07-26 11:11:11 +02:00
|
|
|
|
;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.org>
|
2021-01-14 11:45:47 +01:00
|
|
|
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2022-09-02 07:30:48 +02:00
|
|
|
|
;;; Copyright © 2019, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2019-06-26 18:18:53 +02:00
|
|
|
|
;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
|
2023-01-08 11:40:54 +01:00
|
|
|
|
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2022-02-09 16:38:39 +01:00
|
|
|
|
;;; Copyright © 2020-2022 Marius Bakke <marius@gnu.org>
|
2020-04-22 22:31:03 +02:00
|
|
|
|
;;; Copyright © 2020 Tom Zander <tomz@freedommail.ch>
|
2017-12-15 12:35:38 +01:00
|
|
|
|
;;; Copyright © 2020 Mark Meyer <mark@ofosos.org>
|
2021-01-04 19:44:45 +01:00
|
|
|
|
;;; Copyright © 2020 Maxime Devos <maximedevos@telenet.be>
|
2021-02-04 12:39:12 +01:00
|
|
|
|
;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
|
2021-06-08 01:16:47 +02:00
|
|
|
|
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
|
2021-07-13 21:17:51 +02:00
|
|
|
|
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
2021-08-29 13:39:14 +02:00
|
|
|
|
;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
|
2022-03-28 00:31:27 +02:00
|
|
|
|
;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
|
2022-06-02 15:59:11 +02:00
|
|
|
|
;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
2022-09-23 09:00:59 +02:00
|
|
|
|
;;; Copyright © 2022 zamfofex <zamfofex@twdb.moe>
|
2022-11-03 23:35:05 +01:00
|
|
|
|
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
2016-12-07 17:53:22 +01: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 text-editors)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2021-07-31 13:28:17 +02:00
|
|
|
|
#:use-module (guix gexp)
|
2016-12-29 16:15:59 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2016-12-07 17:53:22 +01:00
|
|
|
|
#:use-module (guix utils)
|
2021-02-04 12:39:12 +01:00
|
|
|
|
#:use-module (guix build-system cargo)
|
2020-04-12 19:37:05 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2016-12-07 17:53:22 +01:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-07-17 20:37:31 +02:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2022-09-23 09:00:59 +02:00
|
|
|
|
#:use-module (guix build-system meson)
|
2020-01-03 00:59:01 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2022-11-23 11:42:09 +01:00
|
|
|
|
#:use-module (guix build-system qt)
|
2016-12-07 17:53:22 +01:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (gnu packages)
|
2020-04-12 19:37:05 +02:00
|
|
|
|
#:use-module (gnu packages aspell)
|
2017-05-11 23:51:54 +02:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2019-06-01 23:37:24 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2021-07-18 14:14:27 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2016-12-29 16:15:59 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
2020-05-27 21:24:02 +02:00
|
|
|
|
#:use-module (gnu packages code)
|
2022-02-09 17:09:11 +01:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2021-02-04 12:39:12 +01:00
|
|
|
|
#:use-module (gnu packages crates-io)
|
2022-11-23 11:42:09 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
2022-06-23 21:30:11 +02:00
|
|
|
|
#:use-module (gnu packages datastructures)
|
2016-12-29 16:15:59 +01:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2019-06-26 18:18:53 +02:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2020-08-01 10:27:38 +02:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2019-08-18 11:08:29 +02:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2017-04-09 03:28:47 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
2022-09-23 09:00:59 +02:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2022-09-22 08:23:13 +02:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-04-09 03:28:47 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2019-06-26 18:18:53 +02:00
|
|
|
|
#:use-module (gnu packages guile)
|
2020-01-03 00:59:01 +01:00
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
gnu: hunspell: Move hunspell and dictionaries to hunspell module.
Consolidate hunspell and its dictionaries into the (gnu packages hunspell)
module instead of having them scattered about.
* gnu/packages/aspell.scm (aspell-word-list, define-word-list-dictionary,
hunspell-dict-{en, en-au, en-gb, en-gb-ize, en-us}): Remove variables.
* gnu/packages/libreoffice.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu):
Remove variables.
* gnu/packages/hunspell.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu,
aspell-word-list, define-word-list-dictionary, hunspell-dict-{en, en-au,
en-gb, en-gb-ize, en-us}): Add variables.
(hunspell-dictionary): Explicitly declare upstream libreoffice version to
prevent circular dependency.
* gnu/packages/ebook.scm,
gnu/packages/enchant.scm,
gnu/packages/freedesktop.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/messaging.scm,
gnu/packages/scribus.scm,
gnu/packages/task-management.scm,
gnu/packages/telegram.scm,
gnu/packages/tex.scm,
gnu/packages/text-editors.scm,
gnu/packages/video.scm: Adjust module imports.
2023-01-04 00:48:39 +01:00
|
|
|
|
#:use-module (gnu packages hunspell)
|
2022-03-28 00:31:27 +02:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2021-12-18 21:37:17 +01:00
|
|
|
|
#:use-module (gnu packages image)
|
2017-07-26 11:11:11 +02:00
|
|
|
|
#:use-module (gnu packages libbsd)
|
2020-04-12 19:37:05 +02:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2016-12-07 17:53:22 +01:00
|
|
|
|
#:use-module (gnu packages lua)
|
|
|
|
|
#:use-module (gnu packages ncurses)
|
2019-03-04 20:08:52 +01:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2019-06-26 18:18:53 +02:00
|
|
|
|
#:use-module (gnu packages perl)
|
2017-04-09 03:28:47 +02:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2019-06-26 18:18:53 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
2017-12-15 12:35:38 +01:00
|
|
|
|
#:use-module (gnu packages python-web)
|
2019-06-01 23:37:24 +02:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2018-04-14 05:00:31 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2017-12-13 15:00:20 +01:00
|
|
|
|
#:use-module (gnu packages regex)
|
2016-12-29 16:15:59 +01:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2022-09-23 09:00:59 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2021-12-18 21:37:17 +01:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2017-01-26 22:11:08 +01:00
|
|
|
|
#:use-module (gnu packages terminals)
|
2020-01-23 21:58:04 +01:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2020-04-12 19:37:05 +02:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2020-01-26 19:25:19 +01:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg))
|
2016-12-07 17:53:22 +01:00
|
|
|
|
|
|
|
|
|
(define-public vis
|
|
|
|
|
(package
|
|
|
|
|
(name "vis")
|
2022-11-03 23:35:05 +01:00
|
|
|
|
(version "0.8") ; also update the vis-test input
|
2020-08-20 18:34:28 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-03-12 16:39:14 +01:00
|
|
|
|
(url "https://git.sr.ht/~martanne/vis")
|
2020-08-20 18:34:28 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
2022-11-03 23:35:05 +01:00
|
|
|
|
(base32 "0ija192c9i13gbikm707jynf6my212i040ls0f8pgkbiyvls7xay"))
|
2020-08-20 18:34:28 +02:00
|
|
|
|
(file-name (git-file-name name version))))
|
2016-12-07 17:53:22 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-12-13 15:00:20 +01:00
|
|
|
|
`(#:test-target "test"
|
2016-12-07 17:53:22 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-08-20 18:37:06 +02:00
|
|
|
|
(add-after 'unpack 'unpack-test-suite
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((vis-test (assoc-ref inputs "vis-test")))
|
|
|
|
|
(copy-recursively vis-test "test")
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'check) ; the tests need a wrapped vis
|
2016-12-07 17:53:22 +01:00
|
|
|
|
(add-after 'install 'wrap-binary
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lpeg (assoc-ref inputs "lua-lpeg"))
|
|
|
|
|
(lua-version ,(version-major+minor (package-version lua)))
|
|
|
|
|
(LUA_PATH (string-append lpeg "/share/lua/"
|
|
|
|
|
lua-version "/?.lua"))
|
|
|
|
|
(LUA_CPATH (string-append lpeg "/lib/lua/"
|
|
|
|
|
lua-version "/?.so")))
|
|
|
|
|
(wrap-program (string-append out "/bin/vis")
|
|
|
|
|
`("LUA_PATH" ":" prefix (,LUA_PATH))
|
|
|
|
|
`("LUA_CPATH" ":" prefix (,LUA_CPATH)))
|
2020-08-20 18:37:06 +02:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'wrap-binary 'check
|
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
|
(add-before 'check 'set-up-tests
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; DEFAULT_COMPILER is hard-coded here.
|
|
|
|
|
(substitute* "test/core/ccan-config.c"
|
|
|
|
|
(("\"cc\"")
|
|
|
|
|
(format #f "\"~a\"" ,(cc-for-target))))
|
|
|
|
|
;; Use the ‘vis’ executable that we wrapped above.
|
2022-11-03 23:35:05 +01:00
|
|
|
|
(install-file (string-append out "/bin/vis") ".")))))))
|
2020-08-20 18:37:06 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("vis-test"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-03-12 16:39:14 +01:00
|
|
|
|
(url "https://git.sr.ht/~martanne/vis-test")
|
|
|
|
|
(commit "bbd2f34ff788e87a51a74069069273ad83c44f1f")))
|
2020-08-20 18:37:06 +02:00
|
|
|
|
(sha256
|
2021-03-12 16:39:14 +01:00
|
|
|
|
(base32 "1jsvg2lg3xqfgi79x08kx94mc34mh62ivca10vsci6fqsk68jbd0"))
|
2020-08-20 18:37:06 +02:00
|
|
|
|
(file-name (git-file-name "vis-test" version))))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list lua ncurses libtermkey lua-lpeg tre))
|
2016-12-07 17:53:22 +01:00
|
|
|
|
(synopsis "Vim-like text editor")
|
|
|
|
|
(description
|
|
|
|
|
"Vis aims to be a modern, legacy free, simple yet efficient vim-like text
|
|
|
|
|
editor. It extends vim's modal editing with built-in support for multiple
|
|
|
|
|
cursors/selections and combines it with sam's structural regular expression
|
|
|
|
|
based command language.")
|
|
|
|
|
(home-page "https://github.com/martanne/vis")
|
|
|
|
|
(license (list license:isc ; Main distribution.
|
|
|
|
|
license:public-domain ; map.[ch]
|
|
|
|
|
license:expat)))) ; lexers and libutf.[ch]
|
2016-12-29 16:15:59 +01:00
|
|
|
|
|
|
|
|
|
(define-public kakoune
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "kakoune")
|
2022-07-14 10:28:00 +02:00
|
|
|
|
(version "2021.11.08")
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mawww/kakoune/"
|
|
|
|
|
"releases/download/v" version "/"
|
2019-03-21 00:26:05 +01:00
|
|
|
|
"kakoune-" version ".tar.bz2"))
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(sha256
|
2022-07-14 10:28:00 +02:00
|
|
|
|
(base32 "1x5mvmpf0rgmr2xdw5wjn4hr6qd8yvj0zx588fi324x1knfqhc5a"))))
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-source
|
|
|
|
|
(lambda _
|
|
|
|
|
;; kakoune uses confstr with _CS_PATH to find out where to find
|
|
|
|
|
;; a posix shell, but this doesn't work in the build
|
|
|
|
|
;; environment. This substitution just replaces that result
|
|
|
|
|
;; with the "sh" path.
|
|
|
|
|
(substitute* "src/shell_manager.cc"
|
|
|
|
|
(("if \\(m_shell.empty\\(\\)\\)" line)
|
|
|
|
|
(string-append "m_shell = \"" (which "sh")
|
2022-07-14 10:28:00 +02:00
|
|
|
|
"\";\n " line)))))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
|
(native-inputs (list pkg-config))
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(synopsis "Vim-inspired code editor")
|
|
|
|
|
(description
|
|
|
|
|
"Kakoune is a code editor heavily inspired by Vim, as such most of its
|
2016-12-29 16:15:59 +01:00
|
|
|
|
commands are similar to Vi's ones, and it shares Vi's \"keystrokes as a text
|
|
|
|
|
editing language\" model. Kakoune has a strong focus on interactivity, most
|
|
|
|
|
commands provide immediate and incremental results, while still being
|
|
|
|
|
competitive (as in keystroke count) with Vim.")
|
2018-09-10 20:47:05 +02:00
|
|
|
|
(home-page "https://kakoune.org/")
|
2018-04-16 20:37:07 +02:00
|
|
|
|
(license license:unlicense)))
|
2017-02-01 03:26:20 +01:00
|
|
|
|
|
2021-02-04 12:39:12 +01:00
|
|
|
|
(define-public kak-lsp
|
|
|
|
|
(package
|
|
|
|
|
(name "kak-lsp")
|
|
|
|
|
(version "9.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/kak-lsp/kak-lsp")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256 "1wfv2fy5ga6kc51zka3pak0hq97csm2l11bz74w3n1hrf5q9nnf8")))
|
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:cargo-inputs
|
|
|
|
|
(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
|
|
|
|
|
("rust-clap" ,rust-clap-2)
|
|
|
|
|
("rust-daemonize" ,rust-daemonize-0.4)
|
|
|
|
|
("rust-dirs" ,rust-dirs-2)
|
|
|
|
|
("rust-enum_primitive" ,rust-enum-primitive-0.1)
|
|
|
|
|
("rust-glob" ,rust-glob-0.3)
|
|
|
|
|
("rust-itertools" ,rust-itertools-0.9)
|
|
|
|
|
("rust-lsp-types" ,rust-lsp-types-0.80)
|
|
|
|
|
("rust-jsonrpc-core" ,rust-jsonrpc-core-14)
|
|
|
|
|
("rust-libc" ,rust-libc-0.2)
|
|
|
|
|
("rust-rand" ,rust-rand-0.7)
|
|
|
|
|
("rust-regex" ,rust-regex-1)
|
|
|
|
|
("rust-ropey" ,rust-ropey-1)
|
|
|
|
|
("rust-serde" ,rust-serde-1)
|
|
|
|
|
("rust-serde_derive" ,rust-serde-derive-1)
|
|
|
|
|
("rust-serde_json" ,rust-serde-json-1)
|
|
|
|
|
("rust-slog" ,rust-slog-2)
|
|
|
|
|
("rust-slog-scope" ,rust-slog-scope-4)
|
|
|
|
|
("rust-sloggers" ,rust-sloggers-1)
|
|
|
|
|
("rust-toml" ,rust-toml-0.5)
|
|
|
|
|
("rust-url" ,rust-url-2)
|
|
|
|
|
("rust-whoami" ,rust-whoami-0.8))))
|
|
|
|
|
(home-page "https://github.com/kak-lsp/kak-lsp")
|
|
|
|
|
(synopsis "Language Server Protocol (LSP) client for Kakoune")
|
|
|
|
|
(description
|
|
|
|
|
"kak-lsp is a Language Server Protocol client for Kakoune implemented in
|
|
|
|
|
Rust.")
|
|
|
|
|
(license license:unlicense)))
|
|
|
|
|
|
2021-05-14 18:18:48 +02:00
|
|
|
|
(define-public parinfer-rust
|
|
|
|
|
(package
|
|
|
|
|
(name "parinfer-rust")
|
|
|
|
|
(version "0.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/eraserhd/parinfer-rust")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hj5in5h7pj72m4ag80ing513fh65q8xlsf341qzm3vmxm3y3jgd"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:cargo-inputs
|
|
|
|
|
(("rust-getopts" ,rust-getopts-0.2)
|
|
|
|
|
("rust-libc" ,rust-libc-0.2)
|
|
|
|
|
("rust-emacs" ,rust-emacs-0.11)
|
|
|
|
|
("rust-serde" ,rust-serde-1)
|
|
|
|
|
("rust-serde-json" ,rust-serde-json-1)
|
|
|
|
|
("rust-serde-derive" ,rust-serde-derive-1)
|
|
|
|
|
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
|
|
|
|
|
("rust-unicode-width" ,rust-unicode-width-0.1))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list clang))
|
2021-05-14 18:18:48 +02:00
|
|
|
|
(home-page "https://github.com/justinbarclay/parinfer-rust")
|
2021-09-27 16:25:28 +02:00
|
|
|
|
(synopsis "Infer parentheses for Clojure, Lisp and Scheme")
|
2021-05-14 18:18:48 +02:00
|
|
|
|
(description
|
|
|
|
|
"Parinfer is a plugin for Kakoune, Vim, Neovim and Emacs that infers
|
2021-09-27 16:25:28 +02:00
|
|
|
|
parentheses and indentation. This library can be called from other editors that
|
2021-05-14 18:18:48 +02:00
|
|
|
|
can load dynamic libraries.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-02-01 03:26:20 +01:00
|
|
|
|
(define-public joe
|
|
|
|
|
(package
|
|
|
|
|
(name "joe")
|
2018-04-13 17:18:45 +02:00
|
|
|
|
(version "4.6")
|
2017-02-01 03:26:20 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://sourceforge.net/projects/joe-editor/"
|
|
|
|
|
"files/JOE sources/joe-" version "/"
|
|
|
|
|
"joe-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-13 17:18:45 +02:00
|
|
|
|
"1pmr598xxxm9j9dl93kq4dv36zyw0q2dh6d7x07hf134y9hhlnj9"))))
|
2017-02-01 03:26:20 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list ncurses))
|
2017-02-01 03:26:20 +01:00
|
|
|
|
(home-page "http://joe-editor.sourceforge.net/")
|
|
|
|
|
(synopsis "Console screen editor")
|
|
|
|
|
(description
|
2017-02-02 02:08:39 +01:00
|
|
|
|
"JOE is a powerful console screen editor with a \"mode-less\" user
|
|
|
|
|
interface similar to many user-friendly editors. JOE has some of the key
|
|
|
|
|
bindings and many of the powerful features of GNU Emacs.")
|
2017-02-01 03:26:20 +01:00
|
|
|
|
(license license:gpl3+)))
|
2017-04-09 03:28:47 +02:00
|
|
|
|
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(define-public jucipp
|
|
|
|
|
(package
|
|
|
|
|
(name "jucipp")
|
2022-12-02 11:10:19 +01:00
|
|
|
|
(version "1.7.2")
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(home-page "https://gitlab.com/cppit/jucipp")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
;; Two submodules are required which are
|
|
|
|
|
;; developed alongside JuCi++ and difficult
|
|
|
|
|
;; to package separately.
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-12-02 11:10:19 +01:00
|
|
|
|
(base32 "034il3z38a7qvp95f52n9rxbqmh8fxsy416rjak3zzagvfkvzyii"))
|
2022-02-09 17:09:11 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete bundled copy of nlohmann/json.
|
|
|
|
|
(delete-file-recursively "lib/json")))))
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-02-09 17:00:55 +01:00
|
|
|
|
(list #:configure-flags #~(list "-DBUILD_TESTING=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-tiny-process-library
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "lib/tiny-process-library"
|
|
|
|
|
(substitute* '("process_unix.cpp"
|
|
|
|
|
"tests/io_test.cpp")
|
|
|
|
|
(("/bin/sh") (search-input-file (or native-inputs inputs)
|
|
|
|
|
"bin/sh"))))))
|
|
|
|
|
(add-after 'unpack 'disable-some-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/CMakeLists.txt"
|
|
|
|
|
;; Disable the CMake build test, as it does not test
|
|
|
|
|
;; functionality of the package, and requires doing
|
|
|
|
|
;; an "in-source" build.
|
2022-12-02 11:10:19 +01:00
|
|
|
|
(("add_test\\(cmake_(build|file_api)_test.*\\)")
|
2022-02-09 17:00:55 +01:00
|
|
|
|
"")
|
|
|
|
|
;; Disable the git test, as it requires the full checkout.
|
|
|
|
|
(("add_test\\(git_test.*\\)")
|
|
|
|
|
""))))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
;; Tests do not expect HOME to be empty.
|
|
|
|
|
(setenv "HOME" "/etc")
|
2020-04-12 19:37:05 +02:00
|
|
|
|
|
2022-02-09 17:00:55 +01:00
|
|
|
|
;; Most tests require an X server.
|
|
|
|
|
(let ((xvfb (search-input-file (or native-inputs inputs)
|
|
|
|
|
"bin/Xvfb"))
|
|
|
|
|
(display ":1"))
|
|
|
|
|
(setenv "DISPLAY" display)
|
|
|
|
|
(system (string-append xvfb " " display " &")))))
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The package needs GTK+ and GtkSourceView on XDG_DATA_DIRS
|
|
|
|
|
;; for syntax highlighting to work. shared-mime-info is
|
|
|
|
|
;; necessary for MIME handling.
|
|
|
|
|
;; XXX: Ideally we'd reuse glib-or-gtk-wrap here, but it
|
|
|
|
|
;; does not pick up "share/gtksourceview-3.0".
|
|
|
|
|
(wrap-program (string-append #$output "/bin/juci")
|
|
|
|
|
`("XDG_DATA_DIRS" ":" prefix
|
|
|
|
|
(,(string-join
|
|
|
|
|
(cons (string-append #$output "/share")
|
|
|
|
|
(map (lambda (directory)
|
|
|
|
|
(dirname (search-input-directory
|
|
|
|
|
inputs
|
|
|
|
|
(string-append "share/"
|
|
|
|
|
directory))))
|
|
|
|
|
'("gtk-3.0" "gtksourceview-3.0" "mime")))
|
|
|
|
|
":")))))))))
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config xorg-server-for-tests))
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(inputs
|
2022-02-09 16:48:02 +01:00
|
|
|
|
(list aspell
|
|
|
|
|
boost
|
|
|
|
|
clang-11 ;XXX: must be the same version as Mesas LLVM
|
|
|
|
|
gtkmm-3
|
|
|
|
|
gtksourceviewmm
|
2022-02-09 17:09:11 +01:00
|
|
|
|
json-modern-cxx
|
2022-02-09 16:48:02 +01:00
|
|
|
|
libgit2
|
|
|
|
|
universal-ctags))
|
2020-04-12 19:37:05 +02:00
|
|
|
|
(synopsis "Lightweight C++ IDE")
|
|
|
|
|
(description
|
2021-04-20 03:30:03 +02:00
|
|
|
|
"juCi++ is a small @acronym{IDE, Integrated Development Environment}
|
2020-04-12 19:37:05 +02:00
|
|
|
|
designed especially towards libclang with speed, stability, and ease of use
|
|
|
|
|
in mind.
|
|
|
|
|
|
|
|
|
|
It supports autocompletion, on-the-fly warnings and errors, syntax
|
|
|
|
|
highlighting, and integrates with Git as well as the CMake and Meson build
|
|
|
|
|
systems.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-04-09 03:28:47 +02:00
|
|
|
|
(define-public leafpad
|
|
|
|
|
(package
|
|
|
|
|
(name "leafpad")
|
|
|
|
|
(version "0.8.18.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 16:20:51 +01:00
|
|
|
|
(uri (string-append "mirror://savannah/"
|
2017-04-09 03:28:47 +02:00
|
|
|
|
"leafpad/leafpad-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm"))))
|
2017-07-17 20:37:31 +02:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2017-04-09 03:28:47 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list intltool pkg-config))
|
2017-04-09 03:28:47 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gtk+-2))
|
2017-04-09 03:33:37 +02:00
|
|
|
|
(home-page "http://tarot.freeshell.org/leafpad/")
|
2017-04-09 03:28:47 +02:00
|
|
|
|
(synopsis "GTK+ based text editor")
|
|
|
|
|
(description "Leafpad is a GTK+ text editor that emphasizes simplicity. As
|
|
|
|
|
development focuses on keeping weight down to a minimum, only the most essential
|
|
|
|
|
features are implemented in the editor. Leafpad is simple to use, is easily
|
2021-12-30 07:38:29 +01:00
|
|
|
|
compiled, requires few libraries, and starts up quickly.")
|
2017-04-09 03:28:47 +02:00
|
|
|
|
(license license:gpl2+)))
|
2017-05-11 23:51:54 +02:00
|
|
|
|
|
2021-06-08 01:16:47 +02:00
|
|
|
|
(define-public l3afpad
|
|
|
|
|
(let ((commit "5235c9e13bbf0d31a902c6776918c2d7cdbb61ff")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "l3afpad")
|
|
|
|
|
(version (git-version "0.8.18.1.11" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/stevenhoneyman/l3afpad")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1alyghm2wpakzdfag0g4g8gb1h9l4wdg7mnhq8bk0iq5ryqia16a"))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list intltool autoconf automake pkg-config))
|
2021-06-08 01:16:47 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gtk+))
|
2021-06-08 01:16:47 +02:00
|
|
|
|
(home-page "http://tarot.freeshell.org/leafpad/")
|
|
|
|
|
(synopsis "GTK+ 3 based text editor")
|
|
|
|
|
(description "L3afpad is a GTK+ 3 text editor that emphasizes simplicity. As
|
|
|
|
|
development focuses on keeping weight down to a minimum, only the most essential
|
|
|
|
|
features are implemented in the editor. L3afpad is simple to use, is easily
|
|
|
|
|
compiled, requires few libraries, and starts up quickly. L3afpad is a
|
|
|
|
|
fork of Leafpad that uses GTK+ 3 instead of GTK+ 2.")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2017-05-11 23:51:54 +02:00
|
|
|
|
(define-public e3
|
|
|
|
|
(package
|
|
|
|
|
(name "e3")
|
|
|
|
|
(version "2.82")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://sites.google.com/site/e3editor/Home/"
|
|
|
|
|
"e3-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0919kadkas020maqq37852isnzp053q2fnws2zh3mz81d1jiviak"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
|
|
|
|
|
;; Remove pre-built binaries.
|
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 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(delete-file-recursively "bin")
|
|
|
|
|
#t))))
|
2017-05-11 23:51:54 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags (list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list nasm))
|
2017-05-11 23:51:54 +02:00
|
|
|
|
(home-page "https://sites.google.com/site/e3editor/")
|
|
|
|
|
(synopsis "Tiny text editor written in assembly")
|
|
|
|
|
(description
|
|
|
|
|
"e3 is a micro text editor with an executable code size between 3800 and
|
|
|
|
|
35000 bytes. Except for ``syntax highlighting'', the e3 binary supports all
|
|
|
|
|
of the basic functions one expects plus built in arithmetic calculations.
|
|
|
|
|
UTF-8 coding of unicode characters is supported as well. e3 can use
|
|
|
|
|
Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on
|
|
|
|
|
16, 32, and 64-bit CPUs.")
|
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
|
|
|
|
(license license:gpl2+)))
|
2017-07-26 11:11:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public mg
|
|
|
|
|
(package
|
|
|
|
|
(name "mg")
|
2022-11-27 11:47:39 +01:00
|
|
|
|
(version "20221112")
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(source (origin
|
2018-04-26 19:25:50 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/hboetes/mg")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-27 11:47:39 +01:00
|
|
|
|
"1wsib91f277xsx3qi8zmjcd9r9cm078rcf8hii0rwipyn04vxy83"))
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(modules '((guix build utils)))
|
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 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(substitute* "GNUmakefile"
|
2021-07-31 11:42:01 +02:00
|
|
|
|
(("/usr/bin/") ""))))))
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2021-07-31 13:33:54 +02:00
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs (list diffutils libbsd ncurses))
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(arguments
|
|
|
|
|
;; No test suite available.
|
2021-07-31 13:28:17 +02:00
|
|
|
|
(list #:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list (string-append "prefix=" #$output)
|
|
|
|
|
(string-append "CC=" #$(cc-for-target))
|
|
|
|
|
(string-append "PKG_CONFIG=" #$(pkg-config-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(add-before 'build 'correct-location-of-diff
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "buffer.c"
|
|
|
|
|
(("/usr/bin/diff")
|
2021-07-31 13:33:54 +02:00
|
|
|
|
(search-input-file inputs "/bin/diff")))))
|
2021-07-31 13:28:17 +02:00
|
|
|
|
(add-before 'install 'patch-tutorial-location
|
2021-07-31 13:33:54 +02:00
|
|
|
|
(lambda _
|
2021-07-31 13:28:17 +02:00
|
|
|
|
(substitute* "mg.1"
|
2021-07-31 13:33:54 +02:00
|
|
|
|
(("/usr") #$output))))
|
2021-07-31 13:28:17 +02:00
|
|
|
|
(add-after 'install 'install-tutorial
|
2021-07-31 13:33:54 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(let ((doc (string-append #$output "/share/doc/mg")))
|
2021-07-31 13:28:17 +02:00
|
|
|
|
(install-file "tutorial" doc)))))))
|
2018-03-06 21:02:44 +01:00
|
|
|
|
(home-page "https://homepage.boetes.org/software/mg/")
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(synopsis "Microscopic GNU Emacs clone")
|
|
|
|
|
(description
|
2020-01-03 19:37:20 +01:00
|
|
|
|
"Mg (@command{mg}) is a GNU Emacs style editor, with which it is
|
|
|
|
|
\"broadly\" compatible. This is a portable version of the mg maintained by the
|
|
|
|
|
OpenBSD team.")
|
2017-07-26 11:11:11 +02:00
|
|
|
|
(license license:public-domain)))
|
2018-04-14 05:00:31 +02:00
|
|
|
|
|
2020-01-26 19:24:38 +01:00
|
|
|
|
(define-public qemacs
|
|
|
|
|
(package
|
|
|
|
|
(name "qemacs")
|
|
|
|
|
(version "0.3.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bellard.org/qemacs/"
|
|
|
|
|
"qemacs-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "156z4wpj49i6j388yjird5qvrph7hz0grb4r44l4jf3q8imadyrg"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'build-qhtml
|
|
|
|
|
;; Build fails without first creating qHTML library.
|
|
|
|
|
(lambda _ (invoke "make" "-C" "libqhtml")))
|
|
|
|
|
(add-before 'install 'fix-man-pages-directory
|
|
|
|
|
;; Install in $out/share/man instead of $out/man.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/man/man1" all) (string-append "/share" all)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-directories
|
|
|
|
|
;; Ensure directories exist before installing files.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each (lambda (d) (mkdir-p (string-append out d)))
|
|
|
|
|
'("/bin" "/share/man/man1" "/share/qe"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-extra-documentation
|
|
|
|
|
;; Install sample configuration file, Info, and HTML manual.
|
2021-05-25 15:49:05 +02:00
|
|
|
|
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
|
2020-01-26 19:24:38 +01:00
|
|
|
|
(let* ((share (string-append (assoc-ref outputs "out") "/share"))
|
|
|
|
|
(doc (string-append share "/doc/" ,name "-" ,version))
|
|
|
|
|
(html (string-append share "/html"))
|
|
|
|
|
(info (string-append share "/info"))
|
2021-05-25 15:49:05 +02:00
|
|
|
|
(makeinfo (string-append
|
|
|
|
|
(assoc-ref (or native-inputs inputs) "texinfo")
|
|
|
|
|
"/bin/makeinfo")))
|
2020-01-26 19:24:38 +01:00
|
|
|
|
;; First fix Texinfo documentation, create appropriate
|
|
|
|
|
;; directories, then generate Info and HTML files there.
|
|
|
|
|
(substitute* "qe-doc.texi"
|
|
|
|
|
(("^M-([{}])" _ bracket) (string-append "M-@" bracket)))
|
|
|
|
|
(for-each (lambda (d) (mkdir-p d)) (list html info))
|
|
|
|
|
(invoke makeinfo "qe-doc.texi" "-o" info)
|
|
|
|
|
(invoke makeinfo "qe-doc.texi" "--html" "--no-split" "-o" html)
|
|
|
|
|
;; Install sample configuration file.
|
|
|
|
|
(install-file "config.eg" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list texinfo))
|
2020-01-26 19:24:38 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libx11 libxext libxv))
|
2020-01-26 19:24:38 +01:00
|
|
|
|
(home-page "https://bellard.org/qemacs/")
|
|
|
|
|
(synopsis "Small but powerful text editor")
|
|
|
|
|
(description "QEmacs (for Quick Emacs) is a very small but
|
|
|
|
|
powerful editor. It has features that even big editors lack:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
|
|
|
|
|
@item Full screen editor with an Emacs look and feel with all Emacs
|
|
|
|
|
common features: multi-buffer, multi-window, command mode, universal
|
|
|
|
|
argument, keyboard macros, config file with C-like syntax, minibuffer
|
|
|
|
|
with completion and history.
|
|
|
|
|
|
|
|
|
|
@item Can edit files of hundreds of Megabytes without being slow by
|
|
|
|
|
using a highly optimized internal representation and by mmaping the
|
|
|
|
|
file.
|
|
|
|
|
|
|
|
|
|
@item Full Unicode support, including multi charset handling (8859-x,
|
|
|
|
|
UTF8, SJIS, EUC-JP, ...) and bidirectional editing respecting the
|
|
|
|
|
Unicode bidi algorithm. Arabic and Indic scripts handling (in
|
|
|
|
|
progress).
|
|
|
|
|
|
|
|
|
|
@item WYSIWYG HTML/XML/CSS2 mode graphical editing. Also supports
|
|
|
|
|
Lynx like rendering on VT100 terminals.
|
|
|
|
|
|
|
|
|
|
@item WYSIWYG DocBook mode based on XML/CSS2 renderer.
|
|
|
|
|
|
|
|
|
|
@item C mode: coloring with immediate update. Emacs like auto-indent.
|
|
|
|
|
|
|
|
|
|
@item Shell mode: colorized VT100 emulation so that your shell work
|
|
|
|
|
exactly as you expect. Compile mode with next/prev error.
|
|
|
|
|
|
|
|
|
|
@item Input methods for most languages, including Chinese (input
|
|
|
|
|
methods come from the Yudit editor).
|
|
|
|
|
|
|
|
|
|
@item Hexadecimal editing mode with insertion and block commands.
|
|
|
|
|
Unicode hexa editing is also supported.
|
|
|
|
|
|
|
|
|
|
@item Works on any VT100 terminals without termcap. UTF8 VT100
|
|
|
|
|
support included with double width glyphs.
|
|
|
|
|
|
|
|
|
|
@item X11 support. Support multiple proportional fonts at the same
|
|
|
|
|
time (as XEmacs). X Input methods supported. Xft extension supported
|
|
|
|
|
for anti aliased font display.
|
|
|
|
|
|
|
|
|
|
@item Small! Full version (including HTML/XML/CSS2/DocBook rendering
|
|
|
|
|
and all charsets): 200KB big. Basic version (without bidir/unicode
|
|
|
|
|
scripts/input/X11/C/Shell/HTML/Dired): 49KB.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(define-public ghostwriter
|
|
|
|
|
(package
|
|
|
|
|
(name "ghostwriter")
|
2022-08-31 06:49:04 +02:00
|
|
|
|
(version "2.1.4")
|
2018-04-14 05:00:31 +02: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/wereturtle/ghostwriter")
|
2021-02-16 02:26:59 +01:00
|
|
|
|
(commit version)))
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-08-31 06:49:04 +02:00
|
|
|
|
"1w8a6vkhmdbp4kzb7aprvfni9ny47dj0vigbcnsh539dn3sp1gan"))))
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2022-07-19 22:52:05 +02:00
|
|
|
|
(list pkg-config qttools-5)) ; for lrelease
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list hunspell
|
|
|
|
|
qtbase-5
|
2022-07-18 03:03:18 +02:00
|
|
|
|
qtdeclarative-5
|
2022-07-18 01:00:48 +02:00
|
|
|
|
qtmultimedia-5
|
2022-07-18 05:47:28 +02:00
|
|
|
|
qtquickcontrols-5
|
2022-07-17 07:11:46 +02:00
|
|
|
|
qtsvg-5
|
2022-07-18 06:02:58 +02:00
|
|
|
|
qtwebchannel-5))
|
2020-02-11 15:47:45 +01:00
|
|
|
|
(propagated-inputs ; To get native-search-path
|
2022-07-18 13:57:16 +02:00
|
|
|
|
(list qtwebengine-5))
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(arguments
|
2022-08-31 06:49:04 +02:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "qmake" (string-append "PREFIX=" #$output))))
|
|
|
|
|
(add-after 'configure 'create-translations
|
|
|
|
|
(lambda _
|
|
|
|
|
;; `lrelease` will not overwrite, so delete existing .qm files
|
|
|
|
|
(for-each delete-file (find-files "translations" ".*\\.qm"))
|
|
|
|
|
(apply invoke "lrelease" (find-files "translations" ".*\\.ts"))))
|
|
|
|
|
;; Ensure that icons are found at runtime.
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append #$output "/bin/ghostwriter")
|
|
|
|
|
`("QT_PLUGIN_PATH" ":" prefix
|
|
|
|
|
#$(map (lambda (label)
|
|
|
|
|
(file-append (this-package-input label)
|
|
|
|
|
"/lib/qt5/plugins"))
|
|
|
|
|
'("qtsvg" "qtmultimedia")))))))))
|
2018-04-14 05:00:31 +02:00
|
|
|
|
(home-page "https://wereturtle.github.io/ghostwriter/")
|
|
|
|
|
(synopsis "Write without distractions")
|
|
|
|
|
(description
|
|
|
|
|
"@code{ghostwriter} provides a relaxing, distraction-free writing
|
|
|
|
|
environment with Markdown markup.")
|
2019-03-21 01:11:30 +01:00
|
|
|
|
(license license:gpl3+))) ; icons/* under CC-BY-SA3
|
2019-03-04 20:08:52 +01:00
|
|
|
|
|
2020-01-03 00:59:01 +01:00
|
|
|
|
(define-public manuskript
|
|
|
|
|
(package
|
|
|
|
|
(name "manuskript")
|
2022-07-04 15:25:14 +02:00
|
|
|
|
(version "0.14.0")
|
2020-01-03 00:59:01 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/olivierkes/manuskript")
|
2020-01-03 00:59:01 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-07-04 15:25:14 +02:00
|
|
|
|
(base32 "0qhr9bkq4yl2qjainpsv7blzcji2q9ic9zcynawmhfqy3rmf8qlr"))))
|
2020-01-03 00:59:01 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-07-04 15:28:07 +02:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((share (string-append #$output "/share/manuskript")))
|
|
|
|
|
;; Install data.
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (d)
|
|
|
|
|
(let ((destination (string-append share "/" d)))
|
|
|
|
|
(mkdir-p destination)
|
|
|
|
|
(copy-recursively d destination)))
|
|
|
|
|
'("bin" "i18n" "icons" "libs" "manuskript" "resources"))
|
|
|
|
|
;; Install documentation.
|
|
|
|
|
(let ((doc (string-append #$output
|
|
|
|
|
"/doc/manuskript-" #$version
|
|
|
|
|
"/sample-projects")))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(copy-recursively "sample-projects" doc))
|
|
|
|
|
;; Wrap executable in "$out/share/manuskript/bin" and
|
|
|
|
|
;; link to it from "$out/bin".
|
|
|
|
|
(let ((bin (string-append #$output "/bin"))
|
|
|
|
|
(executable (string-append share "/bin/manuskript")))
|
|
|
|
|
(wrap-program executable
|
|
|
|
|
(list "GUIX_PYTHONPATH" 'prefix
|
|
|
|
|
(list (getenv "GUIX_PYTHONPATH"))))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(symlink (string-append share "/bin/manuskript")
|
|
|
|
|
"manuskript")))
|
|
|
|
|
;; Install icons and create .desktop file.
|
|
|
|
|
(let ((apps (string-append #$output "/share/applications"))
|
|
|
|
|
(icons-dir (string-append #$output "/share/pixmaps")))
|
|
|
|
|
(install-file "icons/Manuskript/manuskript.svg" icons-dir)
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append apps "/manuskript.desktop")
|
2020-09-01 16:12:13 +02:00
|
|
|
|
#:name "Manuskript"
|
|
|
|
|
#:mime-type "application/x-manuskript-book;"
|
2022-07-04 15:28:07 +02:00
|
|
|
|
#:exec (string-append #$output "/bin/manuskript %f")
|
2020-09-01 16:12:13 +02:00
|
|
|
|
#:comment '((#f "Tool for writers")
|
|
|
|
|
("es" "Herramienta para escritores/as"))
|
|
|
|
|
#:keywords "manuskript;office;write;edit;novel;text;msk"
|
|
|
|
|
#:terminal #f
|
|
|
|
|
#:type "Application"
|
|
|
|
|
#:icon "manuskript"
|
2022-07-04 15:28:07 +02:00
|
|
|
|
#:categories "Office;WordProcessor;"))))))))
|
2020-01-03 00:59:01 +01:00
|
|
|
|
(inputs
|
2022-07-17 07:11:46 +02:00
|
|
|
|
(list pandoc python-lxml python-markdown python-pyqt qtsvg-5))
|
2020-01-03 00:59:01 +01:00
|
|
|
|
(home-page "http://www.theologeek.ch/manuskript/")
|
|
|
|
|
(synopsis "Tool for writers")
|
|
|
|
|
(description "Manuskript provides a rich environment to help
|
|
|
|
|
writers create their first draft and then further refine and edit
|
|
|
|
|
their masterpiece. With Manuskript you can:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Grow your premise from one sentence, to a paragraph, to a full
|
|
|
|
|
summary,
|
|
|
|
|
@item Create characters,
|
|
|
|
|
@item Conceive plots,
|
|
|
|
|
@item Construct outlines (Outline mode and/or Index cards),
|
|
|
|
|
@item Write with focus (Distraction free mode),
|
|
|
|
|
@item Build worlds,
|
|
|
|
|
@item Track items,
|
|
|
|
|
@item Edit and re-organize chapters and scenes,
|
|
|
|
|
@item View Story line,
|
|
|
|
|
@item Compose with fiction or non-fiction templates and writing modes,
|
|
|
|
|
@item Import and export document formats such as HTML, ePub,
|
|
|
|
|
OpenDocument, DocX, and more.
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
Additionally Manuskript can help in many more ways with a spell
|
|
|
|
|
checker, markdown highlighter, frequency analyzer, and automatic save
|
|
|
|
|
in plain text file format.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(define-public editorconfig-core-c
|
|
|
|
|
(package
|
|
|
|
|
(name "editorconfig-core-c")
|
2021-06-28 19:46:31 +02:00
|
|
|
|
(version "0.12.5")
|
2019-03-04 20:08:52 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/editorconfig/editorconfig-core-c")
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-28 19:46:31 +02:00
|
|
|
|
(base32 "073sh18y0v8wm10iphaia54pkdmwylalccpn1k5i9dwyfjzgj7yg"))))
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'insert-tests
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((tests (assoc-ref inputs "tests")))
|
|
|
|
|
(copy-recursively tests "tests"))
|
2020-09-01 04:43:34 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'delete-static-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(with-directory-excursion lib
|
|
|
|
|
(delete-file "libeditorconfig_static.a"))
|
|
|
|
|
#t))))))
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(native-inputs
|
2020-09-01 04:36:20 +02:00
|
|
|
|
`(("tests"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/editorconfig/editorconfig-core-test")
|
|
|
|
|
;; The tests submodule commit matching this package's version.
|
|
|
|
|
(commit "48610d43b7455af12195473377f93c4ceea654f5")))
|
|
|
|
|
(file-name (git-file-name "editorconfig-core-test" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1s29p4brmcsc3xsww3gk85dg45f1kk3iykh1air3ij0hymf5dyqy"))))))
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pcre2))
|
2019-03-04 20:08:52 +01:00
|
|
|
|
(home-page "https://editorconfig.org/")
|
|
|
|
|
(synopsis "EditorConfig core library written in C")
|
|
|
|
|
(description "EditorConfig makes it easy to maintain the correct coding
|
|
|
|
|
style when switching between different text editors and between different
|
|
|
|
|
projects. The EditorConfig project maintains a file format and plugins for
|
|
|
|
|
various text editors which allow this file format to be read and used by those
|
|
|
|
|
editors.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-06-26 18:18:53 +02:00
|
|
|
|
|
|
|
|
|
(define-public texmacs
|
|
|
|
|
(package
|
|
|
|
|
(name "texmacs")
|
2021-12-18 21:37:17 +01:00
|
|
|
|
(version "2.1.1")
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.texmacs.org/Download/ftp/tmftp/"
|
|
|
|
|
"source/TeXmacs-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
2021-12-18 21:37:17 +01:00
|
|
|
|
(base32 "0c780vcwppzhb70d3d96md3hra7338d4fv3aj0sm7jx0mj2a334i"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config xdg-utils)) ;for xdg-icon-resource
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(inputs
|
2021-12-18 21:37:17 +01:00
|
|
|
|
(list freetype
|
|
|
|
|
guile-1.8
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
perl
|
|
|
|
|
python-wrapper
|
|
|
|
|
qtbase-5
|
2022-07-17 07:11:46 +02:00
|
|
|
|
qtsvg-5
|
2021-12-18 21:37:17 +01:00
|
|
|
|
sqlite))
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(arguments
|
2022-11-08 21:21:35 +01:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-icon-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "packages/linux/icons.sh"
|
|
|
|
|
(("/usr/share")
|
|
|
|
|
(string-append #$output "/share")))))
|
|
|
|
|
(add-before 'configure 'gzip-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("^GZIP = gzip -f") "GZIP = gzip -f -n")))))))
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(synopsis "Editing platform with special features for scientists")
|
|
|
|
|
(description
|
|
|
|
|
"GNU TeXmacs is a text editing platform which is specialized for
|
2020-08-01 10:27:38 +02:00
|
|
|
|
scientists. It is ideal for editing structured documents with different types
|
|
|
|
|
of content. It has robust support for mathematical formulas and plots. It
|
|
|
|
|
can also act as an interface to external mathematical programs such as R and
|
|
|
|
|
Octave. TeXmacs is completely extensible via Guile.")
|
2019-06-26 18:18:53 +02:00
|
|
|
|
(license license:gpl3+)
|
|
|
|
|
(home-page "https://www.texmacs.org/tmweb/home/welcome.en.html")))
|
2019-06-13 00:13:27 +02:00
|
|
|
|
|
2022-11-23 11:42:09 +01:00
|
|
|
|
(define-public mogan
|
|
|
|
|
(package
|
|
|
|
|
(inherit texmacs)
|
|
|
|
|
(name "mogan")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/XmacsLabs/mogan")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(modify-inputs (package-inputs texmacs)
|
|
|
|
|
;; Replaced by S7 scheme
|
|
|
|
|
;; TODO: Maybe unbundle S7
|
|
|
|
|
(delete "guile")
|
|
|
|
|
(prepend curl)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments texmacs)
|
|
|
|
|
((#:phases orig)
|
|
|
|
|
#~(modify-phases #$orig
|
|
|
|
|
;; The non-deterministic compression issue is solved in Mogan.
|
|
|
|
|
(delete 'gzip-flags)))))
|
|
|
|
|
(home-page "https://github.com/XmacsLabs/mogan")
|
|
|
|
|
(synopsis "Scientific structural text editor")
|
|
|
|
|
(description
|
|
|
|
|
"Mogan is a scientific structural text editor, a fork of GNU TeXmacs.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2022-09-22 08:23:13 +02:00
|
|
|
|
(define-public textpieces
|
|
|
|
|
(package
|
|
|
|
|
(name "textpieces")
|
|
|
|
|
(version "3.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/liferooter/textpieces")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14zq2c7js80m4cq8wpdb3kyz5sw96l8znbz027w8s94gqhm632ff"))))
|
|
|
|
|
(arguments
|
|
|
|
|
'(;; The test suite fails to validate appstream file due to lack of
|
|
|
|
|
;; network access
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:glib-or-gtk? #t))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2022-10-17 07:19:44 +02:00
|
|
|
|
(list appstream-glib
|
|
|
|
|
blueprint-compiler
|
2022-09-22 08:23:13 +02:00
|
|
|
|
desktop-file-utils
|
|
|
|
|
gettext-minimal
|
|
|
|
|
`(,glib "bin")
|
2022-10-17 07:19:44 +02:00
|
|
|
|
`(,gtk "bin")
|
|
|
|
|
pkg-config
|
|
|
|
|
vala))
|
2022-09-22 08:23:13 +02:00
|
|
|
|
(inputs
|
2022-10-17 07:19:44 +02:00
|
|
|
|
(list gtk
|
|
|
|
|
gtksourceview
|
|
|
|
|
json-glib
|
2022-09-22 08:23:13 +02:00
|
|
|
|
libadwaita
|
|
|
|
|
libgee
|
|
|
|
|
python
|
|
|
|
|
python-pygobject
|
2022-10-17 07:19:44 +02:00
|
|
|
|
python-pyyaml))
|
2022-09-22 08:23:13 +02:00
|
|
|
|
(home-page "https://github.com/liferooter/textpieces")
|
|
|
|
|
(synopsis "Quick text processor")
|
|
|
|
|
(description
|
2022-10-17 07:19:44 +02:00
|
|
|
|
"Text Pieces is a tool for quick text transformations such as checksums,
|
|
|
|
|
encoding, decoding, etc.
|
2022-09-22 08:23:13 +02:00
|
|
|
|
|
|
|
|
|
The basic features of Text Pieces are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Base64 encoding and decoding
|
|
|
|
|
@item SHA-1, SHA-2 and MD5 checksums
|
|
|
|
|
@item Prettify and minify JSON
|
|
|
|
|
@item Covert JSON to YAML and vice versa
|
|
|
|
|
@item Count lines, symbols and words
|
|
|
|
|
@item Escape and unescape string, URL and HTML
|
|
|
|
|
@item Remove leading and trailing whitespaces
|
|
|
|
|
@item Sort and reverse sort lines
|
|
|
|
|
@item Reverse lines and whole text
|
|
|
|
|
@item You can write your own scripts and create custom tools
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2019-06-13 00:13:27 +02:00
|
|
|
|
(define-public scintilla
|
|
|
|
|
(package
|
|
|
|
|
(name "scintilla")
|
2023-01-08 11:40:54 +01:00
|
|
|
|
(version "5.3.2")
|
2020-02-01 17:01:36 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (let ((v (apply string-append (string-split version #\.))))
|
|
|
|
|
(string-append "https://www.scintilla.org/scintilla" v ".tgz")))
|
|
|
|
|
(sha256
|
2023-01-08 11:40:54 +01:00
|
|
|
|
(base32 "16jskdc0762iwpy4s75vmp27qds32pnpaj09h48c6qg3rmvrgslh"))))
|
2019-06-13 00:13:27 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-02-25 12:04:06 +01:00
|
|
|
|
(list
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list "GTK3=1"
|
|
|
|
|
(string-append "CC=" #$(cc-for-target))
|
|
|
|
|
"-Cgtk")
|
|
|
|
|
#:tests? #f ;require un-packaged Pyside
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; Upstream provides no install script.
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((lib (string-append #$output "/lib"))
|
|
|
|
|
(inc (string-append #$output "/include")))
|
|
|
|
|
(for-each (lambda (f) (install-file f lib))
|
|
|
|
|
(find-files "bin/" "\\.so$"))
|
|
|
|
|
(for-each (lambda (f) (install-file f inc))
|
|
|
|
|
(find-files "include/" "."))))))))
|
2019-06-13 00:13:27 +02:00
|
|
|
|
(native-inputs
|
2021-12-29 15:40:03 +01:00
|
|
|
|
(list pkg-config python-wrapper))
|
2019-06-13 00:13:27 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gtk+))
|
2019-06-13 00:13:27 +02:00
|
|
|
|
(home-page "https://www.scintilla.org/")
|
|
|
|
|
(synopsis "Code editor for GTK+")
|
|
|
|
|
(description "Scintilla is a source code editing component for
|
|
|
|
|
GTK+. It has the usual features found in text editing components, as
|
|
|
|
|
well as some that are especially useful for editing and debugging
|
|
|
|
|
source code; these include support for syntax styling, error
|
|
|
|
|
indicators, code completion and call tips. Styling choices are more
|
|
|
|
|
open than with many editors: Scintilla lets you use proportional
|
|
|
|
|
fonts, bold and italics, multiple foreground and background colours,
|
|
|
|
|
and multiple fonts.")
|
|
|
|
|
(license license:hpnd)))
|
2019-06-01 23:37:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public geany
|
|
|
|
|
(package
|
|
|
|
|
(name "geany")
|
2021-10-10 09:57:53 +02:00
|
|
|
|
(version "1.38")
|
2020-06-01 23:35:26 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.geany.org/"
|
|
|
|
|
"geany-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2021-10-10 09:57:53 +02:00
|
|
|
|
(base32 "0inmmb9wra2w99pfv6p64d66s2zrhafc8drhwmga7gj89mp1gzxb"))))
|
2019-06-01 23:37:24 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
doxygen
|
|
|
|
|
`(,glib "bin")
|
|
|
|
|
intltool
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config
|
|
|
|
|
python-docutils)) ;for rst2html
|
2019-06-01 23:37:24 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gtk+
|
|
|
|
|
;; FIXME: Geany bundles a 3.X release of Scintilla. It is not
|
|
|
|
|
;; currently possible to replace it with our Scintilla package.
|
|
|
|
|
;; ("scintilla" ,scintilla)
|
|
|
|
|
))
|
2019-06-01 23:37:24 +02:00
|
|
|
|
(arguments
|
2020-06-01 23:31:22 +02:00
|
|
|
|
`(#:imported-modules ((guix build glib-or-gtk-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:modules (((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
2019-06-01 23:37:24 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2020-06-01 23:31:22 +02:00
|
|
|
|
(add-after 'install 'glib-or-gtk-wrap
|
|
|
|
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
|
2019-06-01 23:37:24 +02:00
|
|
|
|
(home-page "https://www.geany.org")
|
|
|
|
|
(synopsis "Fast and lightweight IDE")
|
|
|
|
|
(description "Geany is a small and fast Integrated Development
|
|
|
|
|
Environment (IDE) that only has a few dependencies on other packages and is as
|
|
|
|
|
independent as possible from special desktop environments like KDE or GNOME.
|
|
|
|
|
|
|
|
|
|
The basic features of Geany are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item syntax highlighting
|
|
|
|
|
@item code completion
|
|
|
|
|
@item auto completion of often constructed constructs like if, for and while
|
|
|
|
|
@item auto completion of XML and HTML tags
|
|
|
|
|
@item call tips
|
|
|
|
|
@item folding
|
|
|
|
|
@item many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
|
|
|
|
|
@item symbol lists
|
|
|
|
|
@item embedded terminal emulation
|
|
|
|
|
@item extensibility through plugins
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl2+)))
|
2019-08-18 11:08:29 +02:00
|
|
|
|
|
|
|
|
|
(define-public fe
|
|
|
|
|
(package
|
|
|
|
|
(name "fe")
|
2021-04-01 15:48:13 +02:00
|
|
|
|
;; Stable release is 1.9. However, this development version
|
2019-08-18 11:08:29 +02:00
|
|
|
|
;; introduces support for UTF-8.
|
|
|
|
|
(version "2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.moria.de/~michael/fe/"
|
|
|
|
|
"fe-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-01 15:48:13 +02:00
|
|
|
|
"10mk5wc3dsdp46b3hkjyd740gcdv6m1gvlr3p8xjxf55b3vfs0la"))))
|
2019-08-18 11:08:29 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
;; Sendmail is only used to send a crash log. Disable the
|
|
|
|
|
;; feature since it is (1) undocumented (2) not very useful.
|
|
|
|
|
#:configure-flags (list "--disable-sendmail")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(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)))
|
|
|
|
|
(for-each (lambda (f) (install-file f doc))
|
|
|
|
|
'("fe.doc" "fe.html" "fe.ps" "feref.ps" "README"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ncurses))
|
2019-08-18 11:08:29 +02:00
|
|
|
|
(home-page "http://www.moria.de/~michael/fe/")
|
|
|
|
|
(synopsis "Small folding editor")
|
2020-04-12 22:02:54 +02:00
|
|
|
|
(description "Fe is a small folding editor. It folds
|
2019-08-18 11:08:29 +02:00
|
|
|
|
arbitrary text regions; it is not bound to syntactic units.
|
|
|
|
|
|
|
|
|
|
Fe has no configuration or extension language and requires no setup.
|
2019-09-23 21:18:41 +02:00
|
|
|
|
Its user interface is emacs-like and it has menus for the very most
|
2019-08-18 11:08:29 +02:00
|
|
|
|
important functions to help beginners. Further there is a reference
|
|
|
|
|
card. It offers:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Regions and Emacs-like kill ring
|
|
|
|
|
@item Incremental search
|
|
|
|
|
@item Keyboard macros
|
|
|
|
|
@item Editing binary files
|
|
|
|
|
@item Multiple windows and views
|
|
|
|
|
@item Compose function for Latin 1 characters
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl2+)))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
|
|
|
|
|
(define-public ne
|
|
|
|
|
(package
|
|
|
|
|
(name "ne")
|
2022-12-11 01:00:01 +01:00
|
|
|
|
(version "3.3.2")
|
2020-01-23 21:58:04 +01: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 22:53:28 +02:00
|
|
|
|
(url "https://github.com/vigna/ne")
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-11 01:00:01 +01:00
|
|
|
|
"16hzja0x41xz6028d8qij9rh1vkiil8qkswd8yznwlcwyl4h04wr"))))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl texinfo))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ncurses))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2022-12-11 01:00:01 +01:00
|
|
|
|
#:parallel-build? #f ; or enums.h may not yet be generated
|
2020-01-23 21:58:04 +01:00
|
|
|
|
#:make-flags
|
2022-10-16 02:00:01 +02:00
|
|
|
|
(list "STRIP=true" ; don't
|
|
|
|
|
(string-append "CC=" ,(cc-for-target))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-09-05 03:03:36 +02:00
|
|
|
|
(add-before 'configure 'patch-early-shebang
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "version.pl"
|
|
|
|
|
(("/usr/bin/env .*perl") (which "perl")))))
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/makefile"
|
2021-09-05 03:03:36 +02:00
|
|
|
|
(("-lcurses") "-lncurses")))))))
|
2021-03-06 16:07:30 +01:00
|
|
|
|
(home-page "https://ne.di.unimi.it/")
|
2020-01-23 21:58:04 +01:00
|
|
|
|
(synopsis "Text editor with menu bar")
|
|
|
|
|
(description "This package provides a modeless text editor with menu bar.
|
|
|
|
|
It supports syntax highlighting, regular expressions, configurable menus,
|
|
|
|
|
keybindings, autocomplete and unlimited undo. It can pipe a marked block
|
|
|
|
|
of text through any command line filter. It can also open very large binary
|
|
|
|
|
files. It was originally developed on the Amiga 3000T.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-04-22 22:31:03 +02:00
|
|
|
|
|
|
|
|
|
(define-public hexer
|
|
|
|
|
(package
|
|
|
|
|
(name "hexer")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://devel.ringlet.net/files/editors/hexer/"
|
|
|
|
|
"hexer-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "157z17z8qivdin2km2wp86x1bv1nx15frrwcz11mk0l3ab74mf76"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no upstream tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LTERMCAP=-lncurses")
|
|
|
|
|
(string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)))) ;no configure script
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ncurses))
|
2020-04-22 22:31:03 +02:00
|
|
|
|
(home-page "https://devel.ringlet.net/editors/hexer/")
|
|
|
|
|
(synopsis "Multi buffer editor for binary files with vi-like interface")
|
|
|
|
|
(description "Hexer is a multi-buffer editor for binary files for Unix-like
|
|
|
|
|
systems that displays its buffer(s) as a hex dump. The user interface is kept
|
|
|
|
|
similar to vi/ex.")
|
|
|
|
|
(license license:bsd-3)))
|
2017-12-15 12:35:38 +01:00
|
|
|
|
|
2022-06-02 15:59:11 +02:00
|
|
|
|
(define-public edlin
|
|
|
|
|
(package
|
|
|
|
|
(name "edlin")
|
|
|
|
|
(version "2.20")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/freedos-edlin/freedos-edlin/"
|
|
|
|
|
version "/edlin-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0cdv42ffminncwj5ph9lw0j7zpbv8l35acppy90wj7x1qm4qk6x8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-read-only
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Remove executable bits.
|
|
|
|
|
(chmod "COPYING" #o444)
|
|
|
|
|
(chmod "edlin.htm" #o444)))
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((doc-dir (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/edlin-" ,version)))
|
|
|
|
|
(mkdir-p doc-dir)
|
|
|
|
|
(install-file "edlin.htm" doc-dir)))))))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/freedos-edlin/")
|
|
|
|
|
(synopsis "The line editor of the FreeDOS operating system")
|
|
|
|
|
(description "The @code{edlin} program is a small line editor, written for
|
|
|
|
|
FreeDOS as a functional clone of the old MS-DOS program edlin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2022-03-28 00:31:27 +02:00
|
|
|
|
(define-public tree-sitter
|
|
|
|
|
(package
|
|
|
|
|
(name "tree-sitter")
|
|
|
|
|
(version "0.20.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tree-sitter/tree-sitter")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Remove bundled ICU parts
|
|
|
|
|
(delete-file-recursively "lib/src/unicode")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs (list icu4c))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:tests? #f ; there are no tests for the runtime library
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list (string-append "PREFIX="
|
|
|
|
|
#$output)
|
|
|
|
|
(string-append "CC="
|
|
|
|
|
#$(cc-for-target)))))
|
|
|
|
|
(home-page "https://tree-sitter.github.io/tree-sitter/")
|
|
|
|
|
(synopsis "Incremental parsing system for programming tools")
|
|
|
|
|
(description
|
|
|
|
|
"Tree-sitter is a parser generator tool and an incremental parsing
|
|
|
|
|
library. It can build a concrete syntax tree for a source file and efficiently
|
|
|
|
|
update the syntax tree as the source file is edited.
|
|
|
|
|
|
|
|
|
|
Tree-sitter aims to be:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item General enough to parse any programming language
|
|
|
|
|
@item Fast enough to parse on every keystroke in a text editor
|
|
|
|
|
@item Robust enough to provide useful results even in the presence of syntax errors
|
|
|
|
|
@item Dependency-free so that the runtime library (which is written in pure C)
|
|
|
|
|
can be embedded in any application
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
This package includes the @code{libtree-sitter} runtime library.
|
|
|
|
|
")
|
|
|
|
|
(license license:expat)))
|
2022-06-23 21:30:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public mle
|
|
|
|
|
(package
|
|
|
|
|
(name "mle")
|
|
|
|
|
(version "1.5.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/adsr/mle")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nhd00lsx9v12zdmps92magz76c2d8zzln3lxvzl4ng73gbvq3n0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs (list lua pcre uthash))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-lua
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "mle.h"
|
|
|
|
|
(("<lua5.4/") "<"))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-llua5.4") "-llua")
|
|
|
|
|
(("/bin/sh") (which "sh")))))
|
|
|
|
|
(add-after 'unpack 'patch-test-shebangs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "tests/func" "\\.sh$")
|
|
|
|
|
(("/usr/bin/env bash") (which "bash")))))
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(add-after 'install 'install-man-pages
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out
|
|
|
|
|
"/share/man/man1")))
|
|
|
|
|
(install-file "mle.1"
|
|
|
|
|
(string-append man))))))
|
|
|
|
|
#:make-flags (list (string-append "CC="
|
|
|
|
|
,(cc-for-target))
|
|
|
|
|
(string-append "prefix=" %output))))
|
|
|
|
|
(home-page "https://github.com/adsr/mle")
|
|
|
|
|
(synopsis "Small, flexible, terminal-based text editor")
|
|
|
|
|
(description
|
|
|
|
|
"mle is a small, flexible, terminal-based text editor written in C.
|
|
|
|
|
Notable features include: full Unicode support, syntax highlighting,
|
|
|
|
|
scriptable rc file, macros, search and replace (PCRE), window
|
|
|
|
|
splitting, multiple cursors, and integration with various shell
|
|
|
|
|
commands.")
|
|
|
|
|
(license license:asl2.0)))
|
2022-09-23 09:00:59 +02:00
|
|
|
|
|
|
|
|
|
(define-public lite-xl
|
|
|
|
|
(package
|
|
|
|
|
(name "lite-xl")
|
|
|
|
|
(version "2.0.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/lite-xl/lite-xl")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0l2i9mvbkc4kqkwk2p17zd1rlm5v41acdyp2xivi53p2hkj4x6pf"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(substitute* "meson.build"
|
|
|
|
|
(("dependency\\('lua5\\.2',")
|
|
|
|
|
"dependency('lua-5.2',")))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs (list agg
|
|
|
|
|
freetype
|
|
|
|
|
lua-5.2
|
|
|
|
|
pcre2
|
|
|
|
|
reproc
|
|
|
|
|
sdl2))
|
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(home-page "https://lite-xl.com")
|
|
|
|
|
(synopsis "Lightweight text editor written in Lua")
|
|
|
|
|
(description
|
|
|
|
|
"Lite XL is derived from lite. It is a lightweight text editor written
|
|
|
|
|
mostly in Lua. It aims to provide something practical, pretty, small and fast
|
|
|
|
|
easy to modify and extend, or to use without doing either.
|
|
|
|
|
|
|
|
|
|
The aim of Lite XL compared to lite is to be more user-friendly, improve the
|
|
|
|
|
quality of font rendering, and reduce CPU usage.")
|
|
|
|
|
(license license:expat)))
|