aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 13:38:22 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:52:43 +0200
commit61a8983af5e0e22366e56ee4ae09e4c35b491188 (patch)
treed3e0de31fb234831a65e6db28f4038f60caff545
parent1436e57652b66d294e5c8f50da8bc9d405d384f8 (diff)
downloadguix-61a8983af5e0e22366e56ee4ae09e4c35b491188.tar.gz
guix-61a8983af5e0e22366e56ee4ae09e4c35b491188.zip
gnu: Add rust-flatbuffers-0.8.
* gnu/packages/crates-io.scm (rust-flatbuffers-0.8): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62f81dcf9b..8e60244b3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15678,6 +15678,30 @@ cross platform API.")
"A procedural macro to insert @code{flame::start_guard(_)} calls.")
(license license:asl2.0)))
+(define-public rust-flatbuffers-0.8
+ (package
+ (name "rust-flatbuffers")
+ (version "0.8.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "flatbuffers" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sc0ngk9xim7xgqydx36xz4a1sqxq2fv7fmqn6z76vbx5cs05if3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://google.github.io/flatbuffers/")
+ (synopsis "FlatBuffers Rust serialization library")
+ (description
+ "This crates provides FlatBuffers runtime serialization library.")
+ (license license:asl2.0)))
+
(define-public rust-flate2-1
(package
(name "rust-flate2")