[bug#75677,rust-team,v2,58/81] gnu: rust-ulid-1: New variable.

Message ID 20250308033446.2101481-59-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:34 a.m. UTC
  * gnu/packages/crates-io.scm (rust-ulid-1): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1d05eab5f7..3f7f64044e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89793,6 +89793,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.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ulid" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ib09vn5xkxcq2dpyxbflf9xjdawaqggyal16db1rvbhj7vvz57j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-web-time" ,rust-web-time-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-postgres-types" ,rust-postgres-types-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-uuid" ,rust-uuid-1))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-getrandom" ,rust-getrandom-0.2)
+        ("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 implementation")
+    (description
+"This is a Rust implementation of the @url{https://github.com/ulid/spec, ulid}
+project which provides Universally Unique Lexicographically Sortable Identifiers.")
+    (license license:expat)))
+
 (define-public rust-uluru-3
   (package
     (name "rust-uluru")