~ruther/guix-local

54984217ae492b03f18e4392666ac4324fd615ef — Nicolas Graves 3 months ago 2072dd7
gnu: emacs-citeproc: Update to 0.9.4-0.a3d62ab.

* gnu/packages/emacs-xyz.scm (emacs-citeproc): Update to 0.9.4-0.a3d62ab.
[arguments]<#:test-command>: Set it.
[native-inputs]: Add emacs-ert-runner, emacs-ht, emacs-yaml.
[synopsis, description]: Improve style using @acronym.

Fixes guix/guix!4217
Merges guix/guix!4218

Change-Id: I618ea6bdaad199c0c4abe35348c92acd08aa2fe2
Modified-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
1 files changed, 38 insertions(+), 32 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +38 -32
@@ 6536,38 6536,44 @@ Its features are:
    (license (list license:unlicense license:wtfpl2))))

(define-public emacs-citeproc
  (package
    (name "emacs-citeproc")
    (version "0.9.4")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/andras-simonyi/citeproc-el")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (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))
    (home-page "https://github.com/andras-simonyi/citeproc-el")
    (synopsis "Citation Style Language (CSL) processor for Emacs")
    (description
     "Citeproc-el is an Emacs Lisp library for rendering citations
and bibliographies in styles described in the Citation Style
Language (CSL), an XML-based, open format to describe the formatting
of bibliographic references.")
    (license license:gpl3+)))
  ;; A more recent commit is necessary for compatibility with the
  ;; built-in emacs-org.
  (let ((commit "a3d62ab8e40a75fcfc6e4c0c107e3137b4db6db8")
        (revision "0"))
    (package
      (name "emacs-citeproc")
      (version (git-version "0.9.4" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/andras-simonyi/citeproc-el")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "1ffxh22xhzg582hbpsxr6cyjfyvvv5yqn3k39qxmkxbxk0g6hair"))))
      (build-system emacs-build-system)
      (arguments
       (list
        #:tests? #f                     ;tests require missing data
        #:emacs emacs-no-x              ;needs libxml support
        #:test-command #~(list "make" "test_internals" "CASK_EXEC=")))
      (native-inputs (list emacs-ert-runner emacs-ht emacs-yaml))
      (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 "@acronym{CSL, Citation Style Language} processor for Emacs")
      (description
       "Citeproc is an Emacs Lisp library for rendering citations and
bibliographies in styles described in the @acronym{CSL, Citation Style
Language}, an XML-based, open format to describe the formatting of
bibliographic references.")
      (license license:gpl3+))))

(define-deprecated-package emacs-citeproc-el
  emacs-citeproc)