Archived
1
0
Fork 0

gnu: emacs-circe: Update to 2.12.

* gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
This commit is contained in:
Nicolas Goaziou 2022-07-06 21:35:18 +02:00
parent 1fdba16821
commit eb9ea4c227
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -16779,61 +16779,57 @@ part, which includes creating tokens.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public emacs-circe (define-public emacs-circe
;; The latest stable release is two years old, and some important fixes have (package
;; landed since then. (name "emacs-circe")
(let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19") (version "2.12")
(revision "0")) (source
(package (origin
(name "emacs-circe") (method git-fetch)
(version (git-version "2.11" revision commit)) (uri (git-reference
(source (url "https://github.com/jorgenschaefer/circe")
(origin (commit (string-append "v" version))))
(method git-fetch) (file-name (git-file-name name version))
(uri (git-reference (sha256
(url "https://github.com/jorgenschaefer/circe") (base32 "0lrxd4hanaxj85nafsc0wss677slmyaks3qb7a95mj7vic3ib937"))))
(commit commit))) (build-system emacs-build-system)
(file-name (git-file-name name version)) (arguments
(sha256 `(#:tests? #t
(base32 "1l6v02aa072jvhq4b9dpkprqs14py0d4jm3xvihm05lvrbf9v6c6")))) #:test-command '("buttercup" "-L" ".")
(build-system emacs-build-system) #:emacs ,emacs ;requires gnutls
(arguments #:phases
`(#:tests? #t (modify-phases %standard-phases
#:test-command '("buttercup" "-L" ".") ;; The HOME environment variable should be set to an existing
#:emacs ,emacs ;requires gnutls ;; directory for the tests to succeed.
#:phases (add-before 'check 'set-home
(modify-phases %standard-phases (lambda _
;; The HOME environment variable should be set to an existing (setenv "HOME" "/tmp")))
;; directory for the tests to succeed. (add-before 'check 'remove-failing-tests
(add-before 'check 'set-home (lambda _
(lambda _ (make-file-writable "tests/test-circe.el")
(setenv "HOME" "/tmp"))) (emacs-batch-edit-file "tests/test-circe.el"
(add-before 'check 'remove-failing-tests `(progn
(lambda _ (dolist (test
(make-file-writable "tests/test-circe.el") '("should have circe-server-buffer set in the mode hook"
(emacs-batch-edit-file "tests/test-circe.el" "should complete nicks with colon at the beginning of the input"
`(progn "should complete nicks without colon later in the input"))
(dolist (test (goto-char (point-min))
'("should have circe-server-buffer set in the mode hook" (search-forward (format "(it %S" test))
"should complete nicks with colon at the beginning of the input" (beginning-of-line)
"should complete nicks without colon later in the input")) (kill-sexp))
(goto-char (point-min)) (basic-save-buffer))))))))
(search-forward (format "(it %S" test)) (native-inputs
(beginning-of-line) (list emacs-buttercup))
(kill-sexp)) ;; In order to securely connect to an IRC server using TLS, Circe requires
(basic-save-buffer)))))))) ;; the GnuTLS binary.
(native-inputs (propagated-inputs
(list emacs-buttercup)) (list gnutls))
;; In order to securely connect to an IRC server using TLS, Circe requires (home-page "https://github.com/jorgenschaefer/circe")
;; the GnuTLS binary. (synopsis "Client for IRC in Emacs")
(propagated-inputs (description "Circe is a Client for IRC in Emacs. It integrates well with
(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 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 activity in channels in the status bar so it stays out of your way unless you
want to use it.") want to use it.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-tracking (define-public emacs-tracking
(package (package