Subject: [PATCH rust-team v2 22/77] gnu: Add rust-citationberg-0.5.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:50:32 -0500

* gnu/packages/crates-io.scm (rust-citationberg-0.5): New variable.

Change-Id: I8fbd52e420e843e6888c2ea8f45b577b404f7051
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 408020ecd0..79e0b475a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12578,6 +12578,28 @@ (define-public rust-circular-0.3
      "This package provides a stream abstraction designed for use with nom.")
     (license license:expat)))
 
+(define-public rust-citationberg-0.5
+  (package
+    (name "rust-citationberg")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "citationberg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yj4z1iivzw5jmcwlb32zig54qindllbb0000wsh5d5gpq1mwng4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.36)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-unscanny" ,rust-unscanny-0.1))))
+    (home-page "https://github.com/typst/citationberg")
+    (synopsis "parser for CSL files")
+    (description "This package provides a parser for CSL files.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-claims-0.7
   (package
     (name "rust-claims")
-- 
2.48.1