aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/text-editors.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/text-editors.scm')
-rw-r--r--gnu/packages/text-editors.scm97
1 files changed, 88 insertions, 9 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index fae021f012..4d53c7a530 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -75,6 +75,8 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crates-io)
+ #:use-module (gnu packages crates-web)
+ #:use-module (gnu packages crates-windows)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages datastructures)
@@ -96,6 +98,7 @@
#:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
@@ -147,8 +150,8 @@ extensions over the standard utility.")
(license license:gpl3+)))
(define-public lem
- (let ((commit "7b380ea04cea2696975da6c7d8c29e57ce2907a2")
- (revision "2"))
+ (let ((commit "534cb9f2e1e1b0ffbdf4552a39801deec21a76f8")
+ (revision "3"))
(package
(name "lem")
(version (git-version "2.2.0" revision commit))
@@ -159,7 +162,7 @@ extensions over the standard utility.")
(url "https://github.com/lem-project/lem/")
(commit commit)))
(sha256
- (base32 "1096vkpd3srs7c8mlirb6qfzmvp7hbkgrj9x6rniyvid9vl0ffmy"))
+ (base32 "0dxn5hc8lfw1l5d7kn16psbdvxrn8m7nvn3qhicqq7m3mml40v2h"))
(file-name (git-file-name name version))
(snippet
#~(begin
@@ -467,6 +470,49 @@ parentheses and indentation. This library can be called from other editors that
can load dynamic libraries.")
(license license:expat)))
+(define-public parinfer-rust-emacs
+ (package
+ (name "parinfer-rust-emacs")
+ (version "0.4.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/justinbarclay/parinfer-rust-emacs")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1v5lcbs1x4f3b428sj9rkjbmfpzyxzny7i0pgdpnr8nyjvpkzns8"))
+ (file-name (git-file-name name version))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:cargo-inputs `(("rust-getopts" ,rust-getopts-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-emacs" ,rust-emacs-0.19)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-stdweb" ,rust-stdweb-0.4)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-library
+ (lambda _
+ (let ((lib (string-append #$output "/lib")))
+ (with-directory-excursion "target/release"
+ (install-file "libparinfer_rust.so" lib))))))))
+ (inputs (list clang))
+ (home-page "https://github.com/justinbarclay/parinfer-rust-emacs")
+ (synopsis "Emacs-centric fork of parinfer-rust")
+ (description
+ "@command{parinfer-rust-emacs} is an Emacs-centric fork of parinfer-rust,
+itself an implementation of Shaun Lebron’s Parinfer. This builds a shared
+library intended to be loaded by the @command{emacs-parinfer-rust-mode} Emacs
+plugin, though a standalone binary is built also.")
+ (license license:isc)))
+
(define-public joe
(package
(name "joe")
@@ -1037,8 +1083,10 @@ editors.")
(uri (string-append "https://www.texmacs.org/Download/ftp/tmftp/"
"source/TeXmacs-" version "-src.tar.gz"))
(sha256
- (base32 "11l1q5lmsj9g7yil1dn7n1cgsr8iikx59kg9riahpb6xw0p959l7"))))
- (build-system cmake-build-system)
+ (base32 "11l1q5lmsj9g7yil1dn7n1cgsr8iikx59kg9riahpb6xw0p959l7"))
+ (patches
+ (search-patches "texmacs-wayland-hidpi.patch"))))
+ (build-system qt-build-system)
(native-inputs
(list pkg-config xdg-utils)) ;for xdg-icon-resource
(inputs
@@ -1050,6 +1098,7 @@ editors.")
python-wrapper
qtbase-5
qtsvg-5
+ qtwayland-5
sqlite))
(arguments
(list
@@ -1075,6 +1124,34 @@ Octave. TeXmacs is completely extensible via Guile.")
(license license:gpl3+)
(home-page "https://www.texmacs.org/tmweb/home/welcome.en.html")))
+(define-public texmacs-guile3
+ (package
+ (inherit texmacs)
+ (name "texmacs-guile3")
+ (version "2.1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/texmacs/texmacs.git")
+ (commit "guile3_branch_2.1")))
+ (sha256
+ (base32 "0f7l1sfbii25gawqsg27m31myvixb3xdxnsg5njlrnmp8xh1rs3v"))
+ (patches
+ (search-patches "texmacs-wayland-hidpi.patch"))))
+ (inputs
+ (list freetype
+ guile-3.0
+ gmp
+ libjpeg-turbo
+ libxcrypt
+ perl
+ python-wrapper
+ qtbase-5
+ qtsvg-5
+ qtwayland-5
+ sqlite))))
+
(define-public mogan
(package
(inherit texmacs)
@@ -1088,7 +1165,9 @@ Octave. TeXmacs is completely extensible via Guile.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff"))))
+ (base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff"))
+ (patches
+ (search-patches "texmacs-wayland-hidpi.patch"))))
(build-system qt-build-system)
(inputs
(modify-inputs (package-inputs texmacs)
@@ -1611,14 +1690,14 @@ highlighting for dozens of languages. Jed is very small and fast.")
(define-public xnedit
(package
(name "xnedit")
- (version "1.5.3")
+ (version "1.6.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/xnedit/" name "-"
version ".tar.gz"))
(sha256
(base32
- "10pw0yylhfmpcmhs74i3ikgsd8jq4dsy64zp9v14wj5s4qrac4c5"))))
+ "1f2r0k2mcicjns5aic6vlpwwy9ccqzwbm46r6403rwwmwg5zk2pg"))))
(build-system gnu-build-system)
(arguments
@@ -1631,7 +1710,7 @@ highlighting for dozens of languages. Jed is very small and fast.")
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "make" "linux" make-flags))))))
- (inputs (list motif pcre))
+ (inputs (list motif))
(native-inputs (list pkg-config))
(home-page "https://sourceforge.net/projects/xnedit/")
(synopsis "Fast and classic X11 text editor")