From 46ab6c48f0a43a82292edf7f312e484212f04674 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:49 -0600 Subject: gnu: Add rust-bincode-0.8. * gnu/packages/crates-io.scm (rust-bincode-0.8): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 85d51ba0d6..fe564ba176 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1777,6 +1777,29 @@ tracebacks.") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bincode-0.8 + (package + (inherit rust-bincode-1) + (name "rust-bincode") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bincode" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nbj0lwykwa1a7sa4303rxgpng9p2hcz9s5d5qcrckrpmcxjsjkf")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-num-traits" ,rust-num-traits-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-bytes" ,rust-serde-bytes-0.10) + ("rust-serde-derive" ,rust-serde-derive-1)))))) + (define-public rust-bindgen-0.55 (package (name "rust-bindgen") -- cgit 1.4.1