summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-09 14:57:18 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:09 +0000
commitd487e125766b6ac162ac435685d96ed0e90b1ffb (patch)
treef7669dfe907d6f4ca4059f47956510e83b13db75 /gnu/packages/crates-io.scm
parent5b6a5506902ac3ae15eea49cc440416ab916139a (diff)
gnu: Add rust-rkyv-0.6.
* gnu/packages/crates-io.scm (rust-rkyv-0.6): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 700915b17c..3ba755805b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43705,6 +43705,31 @@ sub-processes using a fork-like interface.")
(base32
"1n3iw9kaq70dw1rvvma0gjwydbj0f2mvvqvrva69f5cl6yv1dnd0"))))))
+(define-public rust-rkyv-0.6
+ (package
+ (name "rust-rkyv")
+ (version "0.6.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rkyv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01wsn0i8gsw958j892w8i4fyzjdsyhrh7c5zajig049kbqz5n4yb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytecheck" ,rust-bytecheck-0.5)
+ ("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-ptr-meta" ,rust-ptr-meta-0.1)
+ ("rust-rkyv-derive" ,rust-rkyv-derive-0.6)
+ ("rust-seahash" ,rust-seahash-4))))
+ (home-page "https://github.com/rkyv/rkyv")
+ (synopsis "Zero-copy deserialization framework for Rust")
+ (description "Rkyv is a zero-copy deserialization framework for Rust.")
+ (license license:expat)))
+
(define-public rust-rkyv-derive-0.6
(package
(name "rust-rkyv-derive")