Subject: [bug#76513] [PATCH rust-team v2 30/77] gnu: Add rust-hayagriva-0.8.

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

* gnu/packages/crates-io.scm (rust-hayagriva-0.8): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8bfc5de48b..5c510655d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32000,6 +32000,43 @@ (define-public rust-hashlink-0.8
        (("rust-rustc-hash" ,rust-rustc-hash-1)
         ("rust-serde-test" ,rust-serde-test-1))))))
 
+(define-public rust-hayagriva-0.8
+  (package
+    (name "rust-hayagriva")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hayagriva" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n7frakfqq5igpwwqwnqd4dw57i87vac45zrlhlvmz5p9dahfjcm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-biblatex" ,rust-biblatex-0.10)
+                       ("rust-ciborium" ,rust-ciborium-0.2)
+                       ("rust-citationberg" ,rust-citationberg-0.5)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-numerals" ,rust-numerals-0.1)
+                       ("rust-paste" ,rust-paste-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+                       ("rust-strum" ,rust-strum-0.26)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-unic-langid" ,rust-unic-langid-0.9)
+                       ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+                       ("rust-unscanny" ,rust-unscanny-0.1)
+                       ("rust-url" ,rust-url-2))))
+    (home-page "https://github.com/typst/hayagriva")
+    (synopsis
+     "Work with references: Literature database management, storage, and citation formatting")
+    (description
+     "This package provides Work with references: Literature database management, storage, and citation
+formatting.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hdrhistogram-7
   (package
     (name "rust-hdrhistogram")
-- 
2.48.1