Subject: [PATCH 188/228] gnu: Add rust-ulid-1.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:09:18 +0100

* gnu/packages/crates-io.scm (rust-ulid-1): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a1e357eef2..52add0344c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77517,6 +77517,37 @@ (define-public rust-uint-0.9
 arithmetic.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ulid-1
+  (package
+    (name "rust-ulid")
+    (version "1.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ulid" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0n8jj9gpkli0pxaqnxiivvsn6jlvvcs1yzmm2f4s18jsjqbqqxrl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-postgres-types" ,rust-postgres-types-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-web-time" ,rust-web-time-1))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/dylanhart/ulid-rs")
+    (synopsis "Universally Unique Lexicographically Sortable Identifier")
+    (description
+     "This package provides a Universally Unique Lexicographically
+Sortable Identifier implementation.")
+    (license license:expat)))
+
 (define-public rust-uluru-3
   (package
     (name "rust-uluru")
-- 
2.41.0