[bug#75127,27/67] gnu: Add rust-newtype-uuid-1.

Message ID 8bff9f03ac2efd1be6782cb29de317820aed7df2.1735253329.git.lockbox@struct.foo
State New
Headers
Series rust-team: Add cargo-nextest |

Commit Message

Jordan Moore Dec. 26, 2024, 11:11 p.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 9823a8b52f..276a59d11f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50804,6 +50804,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-nextest-filtering-0.12
   (package
     (name "rust-nextest-filtering")