summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:44:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:44 +0100
commitb619e9ba570e3a6ef971a74a6d57e18f4898c740 (patch)
tree4910f289e5b4e871839b40fa5a8801cd74567f06 /gnu/packages/crates-io.scm
parent48792feff92a78aea960af7083b5c4a20cf09675 (diff)
downloadguix-b619e9ba570e3a6ef971a74a6d57e18f4898c740.tar.gz
gnu: Add rust-lazy-bytes-cast-5.
* gnu/packages/crates-io.scm (rust-lazy-bytes-cast-5): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 34870e9870..d2ff7b0c39 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17620,6 +17620,25 @@ generated by LALRPOP.")
        (sha256
         (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2"))))))
 
+(define-public rust-lazy-bytes-cast-5
+  (package
+    (name "rust-lazy-bytes-cast")
+    (version "5.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lazy-bytes-cast" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sr0dy1jfg7bjwm9js4hk0ngl0cmgparq2idv1m1bkc9y2cp898h"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/DoumanAsh/lazy-bytes-cast")
+    (synopsis "Lazy casts from and to byte arrays")
+    (description
+     "This crate provides simple methods to cast from and into byte arrays.")
+    (license license:boost1.0)))
+
 (define-public rust-lazy-static-1.4
   (package
     (name "rust-lazy-static")