diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-15 10:20:32 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-15 10:20:32 -0400 |
commit | 3d297a0017210f1dd135592efb10846840a8af88 (patch) | |
tree | 8868c35a558a6288b5097d65bee42dda291178e4 /gnu/packages/emacs-xyz.scm | |
parent | 279349209e44aaae6ca2aba328fe2a4d2da99f12 (diff) | |
parent | 6737d8d3248301e65bc24291b1a776e4aa8c3648 (diff) | |
download | guix-3d297a0017210f1dd135592efb10846840a8af88.tar.gz |
Merge branch 'master' into staging
With resolved conflicts in: gnu/local.mk gnu/packages/freedesktop.scm gnu/packages/gnuzilla.scm
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 312 |
1 files changed, 185 insertions, 127 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1a9c946223..5aff012adb 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5045,18 +5045,20 @@ mode, which displays information about Elasticsearch clusters.") (license license:gpl3+))) (define-public emacs-expand-region - (package + (let ((commit "c5c4362741deebb0985a8a29f9b8b0e25160764a") + (revision "1")) + (package (name "emacs-expand-region") - (version "0.11.0") + (version (git-version "0.11.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/magnars/expand-region.el") - (commit version))) + (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0h40dhc3kn8fq86xnwi5lz7ql8my8737y7wkqr897p15y90swr35")))) + (base32 "17h58v5mnggbrwrp61cwkqx8hzazkdqyz9p6s1hl9g2hys7zkb00")))) (build-system emacs-build-system) (home-page "https://github.com/magnars/expand-region.el") (synopsis "Increase selected region by semantic units") @@ -5064,7 +5066,7 @@ mode, which displays information about Elasticsearch clusters.") "Expand region increases the selected region by semantic units. Just keep pressing the key until it selects what you want. There's also @code{er/contract-region} if you expand too far.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public emacs-explain-pause-mode (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51") @@ -13326,7 +13328,6 @@ passive voice.") #:test-command '("make" "test-dirty") #:phases (modify-phases %standard-phases - (delete 'build) (add-before 'check 'make (lambda _ (invoke "make" (string-append "ORGVERSION=" ,version)))) @@ -13399,23 +13400,24 @@ compatible with the Org stable version.") (license license:gpl3+))) (define-public emacs-org-contacts - ;;; XXX: Upstream made no release yet. - (let ((commit "3d2f39f62aefb0a32d10607703e8b1d4f43821fa") - (revision "0")) + ;; XXX: Upstream does not tag version bumps. Commit below matches latest + ;; version bump. + (let ((commit "217ba04c9d638067a6ccb0829cf1885f54c1d568")) (package (name "emacs-org-contacts") - (version (git-version "0" revision commit)) + (version "1.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/stardiviner/org-contacts.el") + (url "https://repo.or.cz/org-contacts") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0a654406w8zd1hbp8ckc975jhl9mi14xzqizzwiki625dymiw5g5")))) + (base32 "0f0vjdvx0hffj2xvyrya8yfl77djmzmpxdxsx58ym4lmdvwyb6x3")))) (build-system emacs-build-system) - (home-page "https://github.com/stardiviner/org-contacts.el") + (propagated-inputs (list emacs-org)) + (home-page "https://repo.or.cz/org-contacts") (synopsis "Contacts management system for Org mode") (description "Manage your contacts from Org mode. You can auto complete email addresses, export contacts to a vCard file, put birthdays @@ -14159,6 +14161,34 @@ automatically using existing List-ID headers in your mu database. Just press automatically discovered and presented in recency order.") (license license:gpl3+)))) +(define-public emacs-mentor + (package + (name "emacs-mentor") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.nongnu.org/nongnu/mentor-" + version ".tar")) + (sha256 + (base32 + "01zrvfk2njzyzjzkvp5hv5cjl1k1qjrila1ab4bv26gf6bkq5xh3")))) + (build-system emacs-build-system) + (propagated-inputs + (list emacs-async emacs-xml-rpc)) + (home-page "https://elpa.nongnu.org/nongnu/mentor.html") + (synopsis "Emacs front-end for the rTorrent bittorrent client") + (description + "Mentor is a GNU Emacs frontend for the rTorrent bittorrent client. + +By default, it will start and run rTorrent from within Emacs but can also be +configured to use an external rTorrent instance over XML-RPC. + +This project aims to provide a feature complete and customizable interface, +that will feel familiar to Emacs users. Key bindings are chosen to be as +close to the vanilla rTorrent curses interface as possible.") + (license license:gpl3+))) + (define-public emacs-message-view-patch (let ((commit "40bc2e554fc1d0b6f0c403192c0a3ceaa019a78d") (revision "2")) @@ -15814,8 +15844,8 @@ lines, and @code{gc} to comment out the target of a motion.") ;; Tests for emacs-ansi have a circular dependency with ert-runner, and ;; therefore cannot be run (define-public emacs-ansi - (let ((commit "a41d5cc719297515d85bb5256980cd1204a71b88") - (revision "1")) + (let ((commit "2367fba7b3b2340364a30cd6de7f3eb6bb9898a3") + (revision "2")) (package (name "emacs-ansi") (version (git-version "0.4.1" revision commit)) @@ -15827,10 +15857,8 @@ lines, and @code{gc} to comment out the target of a motion.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "051v8dmji90chwbsyqsqry7h35mksal2j6rgw1kpmjsni86d79y1")))) + (base32 "1n7h6l4icm6lks3zpvd83j1fzrnspw19rmz7c96vy7pdh1y4v3p3")))) (build-system emacs-build-system) - (propagated-inputs - (list emacs-dash emacs-s)) (home-page "https://github.com/rejeep/ansi.el") (synopsis "Convert strings to ANSI") (description "@code{emacs-ansi} defines functions that turns simple @@ -16544,33 +16572,31 @@ which avoids some of the issues with using Emacs’s built-in Url library.") (license license:gpl3+))) (define-public emacs-ement - (let ((commit "02015eacf682b53baaddf26c8a4046e6ff84d4e8") - (revision "3")) - (package - (name "emacs-ement") - (version (git-version "0.1-pre" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alphapapa/ement.el") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0xnhhzl1si09l7lgh5smgpmxgbkzi8p68dykdgsawqa960w6n1ks")))) - (build-system emacs-build-system) - (arguments - `(#:emacs ,emacs)) ;need libxml support - (propagated-inputs - (list emacs-plz - emacs-svg-lib - emacs-taxy - emacs-taxy-magit-section - emacs-ts)) - (home-page "https://github.com/alphapapa/ement.el") - (synopsis "Matrix client for Emacs") - (description "Ement.el is a Matrix client for Emacs.") - (license license:gpl3+)))) + (package + (name "emacs-ement") + (version "0.1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphapapa/ement.el") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "075mwlc616rr86zgli36n6r8w09c5cvlk43by0f1xzla5rmiza8r")))) + (build-system emacs-build-system) + (arguments + `(#:emacs ,emacs)) ;need libxml support + (propagated-inputs + (list emacs-plz + emacs-svg-lib + emacs-taxy + emacs-taxy-magit-section + emacs-ts)) + (home-page "https://github.com/alphapapa/ement.el") + (synopsis "Matrix client for Emacs") + (description "Ement.el is a Matrix client for Emacs.") + (license license:gpl3+))) (define-public emacs-rpm-spec-mode (let ((commit "c1c38050c48ea330c7cea632b8785d66daeefb2b") @@ -17634,7 +17660,7 @@ languages while remaining inside the primary Org buffer.") (define-public eless (package (name "eless") - (version "0.6") + (version "0.7") (source (origin (method git-fetch) @@ -17643,7 +17669,7 @@ languages while remaining inside the primary Org buffer.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1xif339wsc79hsab3l1nnwvy20jg7s1r4akfj4qqi6qxizfhmb52")))) + (base32 "01gpzg35v972ik4bimcyhqabjca6sjj41kw2i15xj1k33p4sjqpf")))) (build-system copy-build-system) (inputs (list bash emacs)) @@ -17925,7 +17951,9 @@ formatting rules for that language.") (file-name (git-file-name name version)) (sha256 (base32 - "0r0lz2s6gvy04fwnafai668jsf4546h4k6zd6isx5wpk0n33pj5m")))) + "0r0lz2s6gvy04fwnafai668jsf4546h4k6zd6isx5wpk0n33pj5m")) + (patches + (search-patches "emacs-kv-fix-tests.patch")))) (build-system emacs-build-system) (arguments `(#:tests? #t @@ -25153,7 +25181,7 @@ according to their use.") (define-public emacs-detached (package (name "emacs-detached") - (version "0.7") + (version "0.8.1") (source (origin (method git-fetch) (uri (git-reference @@ -25162,22 +25190,17 @@ according to their use.") (file-name (git-file-name name version)) (sha256 (base32 - "160h60vrpxslw6y290ndc065cc75dab58aq7kjqash94vkifnii2")))) + "190sil04wbnnml7i1nv19xn8fpqwng9xngpsxvmfxj3bzn7slid6")))) (arguments (list #:tests? #t #:test-command #~(list "ert-runner") #:phases #~(modify-phases %standard-phases - (add-before 'install 'install-detached-env - (lambda _ - (install-file "detached-env" (string-append #$output "/bin")))) (add-after 'unpack 'configure (lambda* (#:key inputs #:allow-other-keys) (make-file-writable "detached.el") (emacs-substitute-variables "detached.el" - ("detached-env" - (string-append #$output "/bin/detached-env")) ("detached-dtach-program" (search-input-file inputs "/bin/dtach")) ("detached-shell-program" @@ -25676,7 +25699,7 @@ processes for Emacs.") (define-public emacs-treemacs (package (name "emacs-treemacs") - (version "2.10") + (version "3.0") (source (origin (method git-fetch) @@ -25685,7 +25708,7 @@ processes for Emacs.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0wf26wkba89rr7j9vsvkp0jfr49560nbvykaxm9hk7zvhkwlm1np")))) + (base32 "0l6pbfrkl0v1iyc43vyhchbcfy7cjhinn8pw07aq4ssh6lxil7kp")))) (build-system emacs-build-system) (propagated-inputs (list emacs-ace-window @@ -25700,46 +25723,57 @@ processes for Emacs.") (inputs (list python)) (arguments - `(#:tests? #t - #:test-command '("make" "-C" "../.." "test") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-makefile - (lambda _ - (substitute* "Makefile" - (("@\\$\\(CASK\\) exec ") "") - ;; Guix does not need to prepare dependencies before testing. - (("test: prepare") "test:")))) - (add-after 'fix-makefile 'chdir-elisp - ;; Elisp directory is not in root of the source. - (lambda _ - (chdir "src/elisp"))) - (add-before 'install 'patch-paths - (lambda* (#:key inputs outputs #:allow-other-keys) - (with-directory-excursion "../.." ;treemacs root - (chmod "src/elisp/treemacs-core-utils.el" #o644) - (emacs-substitute-variables "src/elisp/treemacs-core-utils.el" - ("treemacs-dir" - (string-append (assoc-ref outputs "out") "/"))) - (chmod "src/elisp/treemacs-icons.el" #o644) - (substitute* "src/elisp/treemacs-icons.el" - (("icons/default") "share/emacs-treemacs/images")) - (chmod "src/elisp/treemacs-customization.el" #o644) - (emacs-substitute-variables "src/elisp/treemacs-customization.el" - ("treemacs-python-executable" - (search-input-file inputs "/bin/python3"))) - (chmod "src/elisp/treemacs-async.el" #o644) - (substitute* "src/elisp/treemacs-async.el" - (("src/scripts") (string-append "share/" ,name "/scripts")))))) - (add-after 'install 'install-data - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (with-directory-excursion "../.." ;treemacs root - (copy-recursively "icons/default" - (string-append out "/share/" ,name "/images")) - (copy-recursively - "src/scripts" - (string-append out "/share/" ,name "/scripts"))))))))) + (list + #:tests? #t + #:test-command #~(list "make" "-C" "../.." "test") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("@\\$\\(CASK\\) exec ") "") + ;; Guix does not need to prepare dependencies before testing. + (("test: prepare") "test:")))) + (add-after 'fix-makefile 'chdir-elisp + ;; Elisp directory is not in root of the source. + (lambda _ + (chdir "src/elisp"))) + (add-before 'check 'delete-failing-tests + ;; FIXME: 4 tests out of 254 are failing. + (lambda _ + (emacs-batch-edit-file "../../test/treemacs-test.el" + '(progn + (goto-char (point-min)) + (re-search-forward "describe \"treemacs--parent\"") + (beginning-of-line) + (kill-sexp) + (basic-save-buffer))))) + (add-before 'install 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "treemacs-core-utils.el") + (emacs-substitute-variables "treemacs-core-utils.el" + ("treemacs-dir" (string-append #$output "/"))) + (make-file-writable "treemacs-icons.el") + (substitute* "treemacs-icons.el" + (("icons/default") + (string-append (elpa-directory #$output) "/icons/default"))) + (make-file-writable "treemacs-customization.el") + (emacs-substitute-variables "treemacs-customization.el" + ("treemacs-python-executable" + (search-input-file inputs "/bin/python3"))) + (make-file-writable "treemacs-async.el") + (substitute* "treemacs-async.el" + (("src/scripts") + (string-append (elpa-directory #$output) "/scripts"))))) + (add-after 'install 'install-data + (lambda _ + (with-directory-excursion "../.." ;treemacs root + (copy-recursively + "icons/default" + (string-append (elpa-directory #$output) "/icons/default")) + (copy-recursively + "src/scripts" + (string-append (elpa-directory #$output) "/scripts")))))))) (home-page "https://github.com/Alexander-Miller/treemacs") (synopsis "Emacs tree style file explorer") (description @@ -25761,7 +25795,8 @@ utilities.") ("emacs-magit" ,emacs-magit) ("emacs-projectile" ,emacs-projectile) ("emacs-perspective" ,emacs-perspective) - ("emacs-persp-mode" ,emacs-persp-mode))) + ("emacs-persp-mode" ,emacs-persp-mode) + ("mu" ,mu))) (arguments (substitute-keyword-arguments (package-arguments emacs-treemacs) @@ -25773,9 +25808,9 @@ utilities.") (define-public emacs-libyaml ;; Upstream made no release so far. - (let ((version "0") + (let ((version "0.1") (revision "1") - (commit "703e0d448c7ee24e25b513a3c65980c80e166805")) + (commit "961e0d8b9ef47464c049e07be7fcefd3903f8cbc")) (package (name "emacs-libyaml") (version (git-version version revision commit)) @@ -25787,34 +25822,33 @@ utilities.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "08l7pm9v50ykd3fkbm0bh2kcd57cadbc5i9r6rj51vd32w3pl2yl")))) + (base32 "1c85583r47yjbpzbjgjzrwzqdlmy229xx9az2r18smcyd9da92c3")))) (build-system emacs-build-system) (arguments - `(#:tests? #f ;no test - #:modules ((guix build emacs-build-system) + (list + #:tests? #f ;no test + #:modules '((guix build emacs-build-system) (guix build emacs-utils) (guix build utils)) - #:imported-modules (,@%emacs-build-system-modules + #:imported-modules `(,@%emacs-build-system-modules (guix build gnu-build-system)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'substitute-libyaml-core-path - (lambda* (#:key outputs #:allow-other-keys) - (chmod "libyaml.el" #o644) - (substitute* "libyaml.el" - (("^\\(require 'libyaml-core\\)") - (string-append "(module-load \"" (assoc-ref outputs "out") - "/lib/libyaml-core.so\")"))) - #t)) - (add-after 'check 'make - ;; Run make. - (lambda* (#:key (make-flags '()) outputs #:allow-other-keys) - ;; Compile the shared object file. - (apply invoke "make" "all" "CPPFLAGS=" make-flags) - ;; Move the file into /lib. - (install-file "libyaml-core.so" - (string-append (assoc-ref outputs "out") "/lib")) - #t))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-libyaml-core-path + (lambda _ + (make-file-writable "libyaml.el") + (substitute* "libyaml.el" + (("^\\(require 'libyaml-core\\)") + (string-append "(module-load \"" #$output + "/lib/libyaml-core.so\")"))))) + (add-after 'check 'make + ;; Run make. + (lambda* (#:key (make-flags '()) #:allow-other-keys) + ;; Compile the shared object file. + (apply invoke "make" "all" "CPPFLAGS=" make-flags) + ;; Move the file into /lib. + (install-file "libyaml-core.so" + (string-append #$output "/lib"))))))) (native-inputs (list libyaml)) (home-page "https://github.com/syohex/emacs-libyaml") (synopsis "Libyaml bindings for Emacs") @@ -29722,6 +29756,30 @@ It also provides original Helm commands: @command{helm-cider-spec}, data format @code{edn}. See @url{https://github.com/edn-format/edn}.") (license license:gpl3+)))) +(define-public emacs-ednc + (let ((commit "940a4adbbeb3b6b1a72270a814d52770dd89a997") + (revision "1")) + (package + (name "emacs-ednc") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sinic/ednc") + (commit commit))) + (sha256 + (base32 "1gsx2qgv5xm9r0i0axd4hf31g2rq2m4a1hvnif48g4xb0llss73c")))) + (build-system emacs-build-system) + (home-page "https://github.com/sinic/ednc") + (synopsis "Emacs Desktop Notification Center") + (description + "The Emacs Desktop Notification Center (EDNC) is an Emacs package written +in pure Lisp that implements a Desktop Notifications service according to the +freedesktop.org specification. EDNC aspires to be a small, but flexible +drop-in replacement of standalone daemons like Dunst.") + (license license:gpl3+)))) + (define-public emacs-helm-clojuredocs (let ((commit "5a7f0f2cb401be0b09e73262a1c18265ab9a3cea")) (package @@ -31704,7 +31762,7 @@ and preferred services can easily be configured.") (define-public emacs-vertico (package (name "emacs-vertico") - (version "0.26") + (version "0.27") (source (origin (method git-fetch) @@ -31713,7 +31771,7 @@ and preferred services can easily be configured.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "16bv4pfc3k37dqyj1va3cb24db36pn8hsazk3ak4xhrgf2q5l548")))) + (base32 "17ip4v0hkv9q2fsnpja24jnf5d5zn4g91553n2s0l5c6gwwpilkp")))) (build-system emacs-build-system) (arguments `(#:phases @@ -31930,7 +31988,7 @@ for detecting and improve non-idiomatic Clojure source code.") (define-public emacs-mint-mode (package (name "emacs-mint-mode") - (version "1.0.2") + (version "1.0.3") (source (origin (method git-fetch) @@ -31939,7 +31997,7 @@ for detecting and improve non-idiomatic Clojure source code.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1v8mp1k24lzvc0mh9l4k3fwzr4sr87f5p9ahpy7263pcbvcy11vl")))) + (base32 "19szk2dhsa0771kbg1ywp0zz8j6akysvwmmrx2bihq8h5j4y23pg")))) (build-system emacs-build-system) (arguments '(#:include '("\\.el$" "\\.txt$"))) (home-page "https://github.com/creatorrr/emacs-mint-mode") |