From cb585754f3dafa63215ef76ab45ae682bf632c46 Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:26 -0400 Subject: gnu: Add ruby-citeproc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ruby.scm (ruby-citeproc): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 25e3cbcd97..e3d9572bec 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13293,3 +13293,27 @@ export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).") "This gem provides a simple interface for classifying Ruby strings using the Unicode @code{Script} and @code{Script_Extensions} properties.") (license license:expat))) + +(define-public ruby-citeproc + (package + (name "ruby-citeproc") + (version "1.0.10") + (source (origin + (method url-fetch) + (uri (rubygems-uri "citeproc" version)) + (sha256 + (base32 + "13vl5sjmksk5a8kjcqnjxh7kn9gn1n4f9p1rvqfgsfhs54p0m6l2")))) + (build-system ruby-build-system) + (propagated-inputs + (list ruby-namae)) + (arguments + (list #:tests? #f)) ;; tests have a cyclic dependency + (home-page "https://github.com/inukshuk/citeproc") + (synopsis "Interface for Ruby citation processors") + (description + "CiteProc is a citation processor interface and citation data API based +on the @acronym{CSL, Citation Style Language} specifications. To actually +process citations, a dedicated processor engine is required: a pure Ruby +engine is available in the @code{citeproc-ruby} gem.") + (license (list license:agpl3+ license:bsd-2)))) -- cgit v1.2.3