;;; SPDX-License-Identifier: GPL-3.0-or-later ;;; Copyright © 2022-2024 Hilton Chain (define-module (rosenthal packages emacs-xyz) ;; Utilities #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) ;; Guix origin methods #:use-module (guix download) #:use-module (guix git-download) ;; Guix build systems #:use-module (guix build-system emacs) ;; Guix packages #:use-module (gnu packages emacs-build) #:use-module (gnu packages emacs-xyz) #:use-module (gnu packages gcc) #:use-module (gnu packages pdf) #:use-module (rosenthal packages version-control)) (define-public emacs-caddyfile-mode (let ((commit "fc41148f5a7eb320f070666f046fb9d88cf17680") (revision "0")) (package (name "emacs-caddyfile-mode") (version (git-version "0.2" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Schnouki/caddyfile-mode") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1s9kbav5wbyividn9zncd153h89nil0i9aj9hgxa95q9fy84r23w")))) (build-system emacs-build-system) ;; No tests. (arguments (list #:tests? #f)) (propagated-inputs (list emacs-loop)) (home-page "https://github.com/Schnouki/caddyfile-mode") (synopsis "Emacs major mode for editing Caddy configuration files") (description "This package provides @code{caddyfile-mode}, an Emacs major mode for editing Caddyfiles, configuration files for @code{caddy}.") (license license:gpl3+) (properties '((disable-updater? . #t)))))) (define-public emacs-consult-ghostel (package (name "emacs-consult-ghostel") (version "0.59.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/dakra/ghostel") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1rfs5jd2xgpilh9xv9mpjpqn7b71iixkgbnpmqi3nwzb8dz0rqnm")))) (build-system emacs-build-system) (arguments (list #:tests? #f ;no tests #:lisp-directory "extensions/consult-ghostel" #:phases #~(modify-phases %standard-phases (delete 'build)))) ;ghostel isn't packaged (propagated-inputs (list emacs-compat emacs-consult)) (home-page "https://github.com/dakra/ghostel") (synopsis "Consult integration for ghostel") (description "This package provides consult integration for ghostel.") (license license:gpl3+))) (define-public emacs-eat/dolly (package (inherit (package-with-extra-patches emacs-eat (list (origin (method url-fetch) (uri "https://codeberg.org/akib/emacs-eat/pulls/133.patch") (sha256 (base32 "0rn2xf2jq9i42ndcd3wxrr5lid8r4kxqiyr84dasv5ihqg8as5d5"))) (origin (method url-fetch) (uri "https://codeberg.org/akib/emacs-eat/pulls/228.patch") (sha256 (base32 "14d6nvagcri0r687y3m179ijmnad89m5d5dj2rn2p6rpfc5nssr0")))))) (name "emacs-eat-dolly"))) (define-public emacs-isearch-mb (package (name "emacs-isearch-mb") (version "0.8") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/isearch-mb-" version ".tar")) (sha256 (base32 "1b4929vr5gib406p51zcvq1ysmzvnz6bs1lqwjp517kzp6r4gc5y")))) (build-system emacs-build-system) (home-page "https://github.com/astoff/isearch-mb") (synopsis "Control @code{isearch} from the minibuffer") (description "This Emacs package provides an alternative @code{isearch} UI based on the minibuffer. This allows editing the search string in arbitrary ways without any special maneuver. Unlike standard @code{isearch}, cursor motion commands do not end the search. Moreover, the search status information in the echo area and some keybindings are slightly simplified.") (license license:gpl3+) (properties '((disable-updater? . #t))))) (define-public emacs-magit-delta/dolly (package (inherit (package-with-extra-patches emacs-magit-delta (list (origin (method url-fetch) (uri "https://github.com/dandavison/magit-delta/pull/34.patch") (sha256 (base32 "1ipqvrszh6fp9d9g3grk4mbh762knhn0zp3jhww0mkib73f3p0sy")))))) (name "emacs-magit-delta-dolly") (properties '((disable-updater? . #t))))) (define-deprecated-package emacs-majutsu/dolly "emacs-majutsu-dolly" emacs-majutsu) (define-public emacs-msgpack (let ((commit "5353a7b2da854c843cbec4536996242001f63471") (revision "0")) (package (name "emacs-msgpack") (version (git-version "0.1.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/xuchunyang/msgpack.el") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "08pr8ijvfpnzx4bxbj8cjmibk2mlx0ksjwm3dv3lzp3i6cg5mhsw")))) (build-system emacs-build-system) (arguments (list #:test-command ''("ert-runner" "msgpack-tests.el"))) (native-inputs (list emacs-ert-runner)) (home-page "https://github.com/xuchunyang/msgpack.el") (synopsis "Read and write MessagePack object in Emacs") (description "This package provides an Emacs Lisp library for MessagePack.") (license license:gpl3+) (properties '((disable-updater? . #t)))))) (define-public emacs-pcmpl-tailscale (let ((commit "acd6bce54af506b0450cf6aa1068f63d4e25c8ce") (revision "0")) (package (name "emacs-pcmpl-tailscale") (version (git-version "0.0.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://git.thanosapollo.org/pcmpl-tailscale") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "0lk808ahy8ckg2fr2pqk3p5if81nqrwsajrgqafv9hgn8w4l1x0p")))) (build-system emacs-build-system) (home-page "https://git.thanosapollo.org/pcmpl-tailscale") (synopsis "Enhanced shell completions for tailscale") (description "This package provides enhanced completions for the tailscale command and it's subcommands.") (license license:gpl3+) (properties '((disable-updater? . #t)))))) (define-deprecated-package emacs-reader emacs-emureader) (define-public emacs-tramp-rpc (package (name "emacs-tramp-rpc") (version "0.15.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/ArthurHeymans/emacs-tramp-rpc") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "168v9hfawrb496da3mhy1a4pignbfa5109q3x5rlk7pjaf1z7836")))) (build-system emacs-build-system) (arguments (list #:lisp-directory "lisp" #:test-command ''("bash" "../test/run-tests.sh" "--protocol") #:phases #~(modify-phases %standard-phases (delete 'patch-el-files)))) (native-inputs (list emacs-tramp)) (propagated-inputs (list emacs-msgpack)) (home-page "https://github.com/ArthurHeymans/emacs-tramp-rpc") (synopsis "TRAMP backend using RPC") (description "This package provides a TRAMP backend that uses a custom RPC server instead of parsing shell command output. This significantly improves performance for remote file operations.") (license license:gpl3+))) ;; https://issues.guix.gnu.org/59552 (define-public emacs-wakatime-mode ;; No release since May 5, 2015. (let ((commit "1c5b2254dd72f2ff504d6a6189a8c10be03a98d1") (revision "60")) (package (name "emacs-wakatime-mode") ;; 1.0.2 on commit 32a0154cd4bbd525d354997e6b12c6a9726d0b43, not tagged (version (git-version "1.0.2" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/wakatime/wakatime-mode") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "00qv6b756qiaqrmfg1w03psnsdj0iaz3sp50ib4kmdm2g9vgxl1s")))) (build-system emacs-build-system) (arguments (list #:phases #~(modify-phases %standard-phases ;; XXX: WakaTime hasn't packaged in Guix yet. (delete 'patch-el-files)))) (home-page "https://wakatime.com/emacs") (synopsis "Automatic time tracking extension for Emacs using WakaTime") (description "WakaTime mode is an Emacs minor mode for automatic time tracking and metrics generated from your programming activity.") (license license:gpl3+) (properties '((disable-updater? . #t))))))