Subject: [PATCH 28/53] gnu: emacs-citeproc-el: Rename package to emacs-citeproc.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 May 2025 14:50:30 +0200

* gnu/packages/emacs-xyz.scm (emacs-citeproc-el): Define in terms of
'deprecated-package'.
(emacs-citeproc): New variable, formerly known as
"emacs-citeproc-el". Run guix style.
(emacs-citar, emacs-org-ref, emacs-ox-hugo): Use emacs-citeproc.
---
 gnu/packages/emacs-xyz.scm | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 17dd7da490..a4d592aec0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5663,9 +5663,9 @@ (define-public emacs-chronometrist
     ;; Software is dual-licensed.
     (license (list license:unlicense license:wtfpl2))))
 
-(define-public emacs-citeproc-el
+(define-public emacs-citeproc
   (package
-    (name "emacs-citeproc-el")
+    (name "emacs-citeproc")
     (version "0.9.4")
     (source
      (origin
@@ -5678,16 +5678,16 @@ (define-public emacs-citeproc-el
         (base32 "1l74c2f2xjzsp3i331sw3db4fhbvdbwyd856j1ygldwrh4rli9ml"))))
     (build-system emacs-build-system)
     (arguments
-     (list #:emacs emacs                ;need libxml support
-           #:tests? #f))                ;tests require missing data
-    (propagated-inputs
-     (list emacs-compat
-           emacs-dash
-           emacs-f
-           emacs-parsebib
-           emacs-queue
-           emacs-s
-           emacs-string-inflection))
+     (list
+      #:emacs emacs ;need libxml support
+      #:tests? #f)) ;tests require missing data
+    (propagated-inputs (list emacs-compat
+                             emacs-dash
+                             emacs-f
+                             emacs-parsebib
+                             emacs-queue
+                             emacs-s
+                             emacs-string-inflection))
     (home-page "https://github.com/andras-simonyi/citeproc-el")
     (synopsis "Citation Style Language (CSL) processor for Emacs")
     (description
@@ -5697,6 +5697,9 @@ (define-public emacs-citeproc-el
 of bibliographic references.")
     (license license:gpl3+)))
 
+(define-deprecated/public emacs-citeproc-el emacs-citeproc
+  (deprecated-package "emacs-citeproc-el" emacs-citeproc))
+
 (define-public emacs-corfu
   (package
     (name "emacs-corfu")
@@ -26811,7 +26814,7 @@ (define-public emacs-citar
                      (lambda _
                        (setenv "HOME" "/tmp"))))))
     (propagated-inputs (list emacs-auctex
-                             emacs-citeproc-el
+                             emacs-citeproc
                              emacs-embark
                              emacs-org
                              emacs-parsebib
@@ -28272,7 +28275,7 @@ (define-public emacs-org-ref
                                   " (skip-unless (libxml-available-p))"))))))))
       (propagated-inputs
        (list emacs-avy
-             emacs-citeproc-el
+             emacs-citeproc
              emacs-dash
              emacs-f
              emacs-helm-bibtex
@@ -37526,7 +37529,7 @@ (define-public emacs-ox-hugo
     (propagated-inputs
      (list emacs-tomelr))
     (native-inputs (list emacs-toc-org
-                         emacs-citeproc-el
+                         emacs-citeproc
                          emacs-org-ref
                          emacs-org))
     (home-page "https://ox-hugo.scripter.co")
-- 
2.49.0