diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-07-06 21:35:18 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-07-06 21:35:18 +0200 |
commit | eb9ea4c227e4696aadb374d3096cf0e7867af4f0 (patch) | |
tree | 2ec0e30f84b9a971f42d1e3caec27da836b22b75 | |
parent | 1fdba168213ae0097745b6d93b04407f59963718 (diff) | |
download | guix-eb9ea4c227e4696aadb374d3096cf0e7867af4f0.tar.gz |
gnu: emacs-circe: Update to 2.12.
* gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 100 |
1 files changed, 48 insertions, 52 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2ab14828de..e85b306b06 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16779,61 +16779,57 @@ part, which includes creating tokens.") (license license:asl2.0))) (define-public emacs-circe - ;; The latest stable release is two years old, and some important fixes have - ;; landed since then. - (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19") - (revision "0")) - (package - (name "emacs-circe") - (version (git-version "2.11" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jorgenschaefer/circe") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1l6v02aa072jvhq4b9dpkprqs14py0d4jm3xvihm05lvrbf9v6c6")))) - (build-system emacs-build-system) - (arguments - `(#:tests? #t - #:test-command '("buttercup" "-L" ".") - #:emacs ,emacs ;requires gnutls - #:phases - (modify-phases %standard-phases - ;; The HOME environment variable should be set to an existing - ;; directory for the tests to succeed. - (add-before 'check 'set-home - (lambda _ - (setenv "HOME" "/tmp"))) - (add-before 'check 'remove-failing-tests - (lambda _ - (make-file-writable "tests/test-circe.el") - (emacs-batch-edit-file "tests/test-circe.el" - `(progn - (dolist (test - '("should have circe-server-buffer set in the mode hook" - "should complete nicks with colon at the beginning of the input" - "should complete nicks without colon later in the input")) - (goto-char (point-min)) - (search-forward (format "(it %S" test)) - (beginning-of-line) - (kill-sexp)) - (basic-save-buffer)))))))) - (native-inputs - (list emacs-buttercup)) - ;; In order to securely connect to an IRC server using TLS, Circe requires - ;; the GnuTLS binary. - (propagated-inputs - (list gnutls)) - (home-page "https://github.com/jorgenschaefer/circe") - (synopsis "Client for IRC in Emacs") - (description "Circe is a Client for IRC in Emacs. It integrates well with + (package + (name "emacs-circe") + (version "2.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jorgenschaefer/circe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lrxd4hanaxj85nafsc0wss677slmyaks3qb7a95mj7vic3ib937")))) + (build-system emacs-build-system) + (arguments + `(#:tests? #t + #:test-command '("buttercup" "-L" ".") + #:emacs ,emacs ;requires gnutls + #:phases + (modify-phases %standard-phases + ;; The HOME environment variable should be set to an existing + ;; directory for the tests to succeed. + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" "/tmp"))) + (add-before 'check 'remove-failing-tests + (lambda _ + (make-file-writable "tests/test-circe.el") + (emacs-batch-edit-file "tests/test-circe.el" + `(progn + (dolist (test + '("should have circe-server-buffer set in the mode hook" + "should complete nicks with colon at the beginning of the input" + "should complete nicks without colon later in the input")) + (goto-char (point-min)) + (search-forward (format "(it %S" test)) + (beginning-of-line) + (kill-sexp)) + (basic-save-buffer)))))))) + (native-inputs + (list emacs-buttercup)) + ;; In order to securely connect to an IRC server using TLS, Circe requires + ;; the GnuTLS binary. + (propagated-inputs + (list gnutls)) + (home-page "https://github.com/jorgenschaefer/circe") + (synopsis "Client for IRC in Emacs") + (description "Circe is a Client for IRC in Emacs. It integrates well with the rest of the editor, using standard Emacs key bindings and indicating activity in channels in the status bar so it stays out of your way unless you want to use it.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-tracking (package |