guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/69: gnu: Add rust-bytecheck-0.5.


From: guix-commits
Subject: 11/69: gnu: Add rust-bytecheck-0.5.
Date: Thu, 11 Nov 2021 10:43:18 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 5b6a5506902ac3ae15eea49cc440416ab916139a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Nov 9 14:53:07 2021 +0000

    gnu: Add rust-bytecheck-0.5.
    
    * gnu/packages/crates-io.scm (rust-bytecheck-0.5): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f82980d..700915b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6831,6 +6831,31 @@ memory usage.")
      "This package provides a library for interaction with units of bytes.")
     (license license:expat)))
 
+(define-public rust-bytecheck-0.5
+  (package
+    (name "rust-bytecheck")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bytecheck" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q11ap6nqj0rsc8ypwjh918916zlrcrzdgqm175gnpb2yn9axyh1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytecheck-derive" ,rust-bytecheck-derive-0.5)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+        ("rust-simdutf8" ,rust-simdutf8-0.1))))
+    (home-page "https://github.com/rkyv/bytecheck";)
+    (synopsis "Type validation framework")
+    (description "This package provides a type validation framework for
+Rust.")
+    (license license:expat)))
+
 (define-public rust-bytecheck-derive-0.5
   (package
     (name "rust-bytecheck-derive")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]