[bug#75127,rust-team,v5,26/57] gnu: Add rust-newtype-uuid-1.

Message ID 2d65bf6515e98aba928b78602914c82bf11a7df3.1736051365.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v5,01/57] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Jan. 5, 2025, 4:28 a.m. UTC
  * gnu/packages/crates-io.scm (rust-newtype-uuid-1): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46ee2c010e..6855dfd3d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45474,6 +45474,28 @@  (define-public rust-newtype-derive-0.1
     (license (list license:expat
                    license:asl2.0))))
 
+(define-public rust-newtype-uuid-1
+  (package
+    (name "rust-newtype-uuid")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "newtype-uuid" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17922xw05gxdx1rnxzp183yp4mw7pkq27ljslmw65034xzi831sc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-schemars" ,rust-schemars-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-uuid" ,rust-uuid-1))))
+    (home-page "https://github.com/oxidecomputer/newtype-uuid")
+    (synopsis "Newtype wrapper around UUIDs")
+    (description "This package provides Newtype wrapper around UUIDs.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-nftables-0.5
   (package
     (name "rust-nftables")