gnu: emacs-circe: Update to 2.13-1.cc630eb.

* gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.13-1.cc630eb.
[arguments]<#:phases>: Remove phases fixing tests.

Change-Id: Ide8ea578bb6fe3836bcb96ac9206b783a7150cae
This commit is contained in:
Nicolas Goaziou 2024-03-17 22:24:56 +01:00
parent 689259470e
commit cb854000c5
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -21588,57 +21588,45 @@ (define-public emacs-auth-source-xoauth2
(license license:asl2.0))) (license license:asl2.0)))
(define-public emacs-circe (define-public emacs-circe
(package (let ((commit "cc630eb9acb835012ad207dce545d2c380588da7")
(name "emacs-circe") (revision "1"))
(version "2.12") (package
(source (name "emacs-circe")
(origin (version (git-version "2.13" revision commit))
(method git-fetch) (source
(uri (git-reference (origin
(url "https://github.com/jorgenschaefer/circe") (method git-fetch)
(commit (string-append "v" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://github.com/jorgenschaefer/circe")
(sha256 (commit commit)))
(base32 "0lrxd4hanaxj85nafsc0wss677slmyaks3qb7a95mj7vic3ib937")))) (file-name (git-file-name name version))
(build-system emacs-build-system) (sha256
(arguments (base32 "1m2vnp38yv9fnxchcbf6mrzb7yp7z214vr28pr7sslrmm99dqg89"))))
`(#:tests? #t (build-system emacs-build-system)
#:test-command '("buttercup" "-L" ".") (arguments
#:emacs ,emacs ;requires gnutls `(#:tests? #t
#:phases #:test-command '("buttercup" "-L" ".")
(modify-phases %standard-phases #:emacs ,emacs ;requires gnutls
;; The HOME environment variable should be set to an existing #:phases
;; directory for the tests to succeed. (modify-phases %standard-phases
(add-before 'check 'set-home ;; The HOME environment variable should be set to an existing
(lambda _ ;; directory for the tests to succeed.
(setenv "HOME" "/tmp"))) (add-before 'check 'set-home
(add-before 'check 'remove-failing-tests (lambda _
(lambda _ (setenv "HOME" "/tmp"))))))
(make-file-writable "tests/test-circe.el") (native-inputs
(emacs-batch-edit-file "tests/test-circe.el" (list emacs-buttercup))
`(progn ;; In order to securely connect to an IRC server using TLS, Circe requires
(dolist (test ;; the GnuTLS binary.
'("should have circe-server-buffer set in the mode hook" (propagated-inputs
"should complete nicks with colon at the beginning of the input" (list gnutls))
"should complete nicks without colon later in the input")) (home-page "https://github.com/jorgenschaefer/circe")
(goto-char (point-min)) (synopsis "Client for IRC in Emacs")
(search-forward (format "(it %S" test)) (description "Circe is a Client for IRC in Emacs. It integrates well with
(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 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