From 3ad98ee4de413fbedb46637520736c88942ca949 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 18:32:17 -0800 Subject: [PATCH 106/263] gnu: Add rust-scroll-0.9. * gnu/packages/crates-io.scm (rust-scroll-0.9): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 59b2d5640d..a139c2ebff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5507,6 +5507,36 @@ with one of the implemented strategies.") (base32 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) +(define-public rust-scroll-0.9 + (package + (name "rust-scroll") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "scroll" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10q3w86bn22xrjlfg1c90dfi9c26qjkzn26nad0i9z8pxwad311g")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-scroll-derive" ,rust-scroll-derive-0.9)) + #:cargo-development-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-rayon" ,rust-rayon-1.1) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page "https://github.com/m4b/scroll") + (synopsis + "Read/Write traits for byte buffers") + (description + "This package provides a suite of powerful, extensible, generic, +endian-aware Read/Write traits for byte buffers.") + (license license:expat))) + (define-public rust-scroll-derive-0.9 (package (name "rust-scroll-derive") -- 2.24.1