guix-commits
[Top][All Lists]
Advanced

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

23/46: gnu: Add rust-byte-slice-cast-1.


From: guix-commits
Subject: 23/46: gnu: Add rust-byte-slice-cast-1.
Date: Thu, 27 Jan 2022 19:12:49 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 601482a9fd3ed06a9f8f29b8c3ca5bdc07367f21
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Wed Jan 19 17:16:15 2022 +0100

    gnu: Add rust-byte-slice-cast-1.
    
    * gnu/packages/crates-io.scm (rust-byte-slice-cast-1): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c49aa3928b..dead584f1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8595,6 +8595,25 @@ reasonable.")
 memory usage.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-byte-slice-cast-1
+  (package
+    (name "rust-byte-slice-cast")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "byte-slice-cast" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "162618ai9pnsim49lkjpq2yi2b3wssclvqxwwycw8xrbb58wfc0x"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/sdroege/bytes-num-slice-cast";)
+    (synopsis
+      "Safely cast bytes slices from/to slices of built-in fundamental numeric 
types")
+    (description "This Rust library enables safely cast bytes slices from/to 
slices
+of built-in fundamental numeric types.")
+    (license license:expat)))
+
 (define-public rust-byte-tools-0.3
   (package
     (name "rust-byte-tools")



reply via email to

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