Subject: [bug#75391] [PATCH 03/12] gnu: Add rust-vergen-lib-0.1.

From: Andrew Wong <[email-masked]>
Date: Sun, 5 Jan 2025 18:01:06 -0500

* gnu/packages/crates-io.scm (rust-vergen-lib-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a11844b18..d32eed0b66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89660,6 +89660,29 @@ (define-public rust-vergen-3
        #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
                                    ("rust-regex" ,rust-regex-1))))))
 
+(define-public rust-vergen-lib-0.1
+  (package
+    (name "rust-vergen-lib")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "vergen-lib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ix19k2kvn4hzhhl6nld9h7fh1qh5z7j51z5rn2zq28wfpk6giy0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-derive-builder" ,rust-derive-builder-0.20)
+                       ("rust-rustversion" ,rust-rustversion-1))))
+    (home-page "https://github.com/rustyhorde/vergen")
+    (synopsis "Common code used to support the vergen libraries")
+    (description
+     "This package provides Common code used to support the vergen libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-version-check-0.9
   (package
     (name "rust-version-check")
-- 
2.47.1