From 141397564e0bccaad0ea7502fd4fab23cd81bd6b Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 22:50:39 -0800 Subject: [PATCH] gnu: Add rust-byteorder-1.3. * gnu/packages/crates-io.scm (rust-byteorder-1.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6187a57763..ab4a5efb8a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -324,6 +324,35 @@ (define-public rust-bstr-0.1 (base32 "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r")))))) +(define-public rust-byteorder-1.3 + (package + (name "rust-byteorder") + (version "1.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "byteorder" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xbwjlmq2ziqjmjvkqxdx1yh136xxhilxd40bky1w4d7hn4xvhx7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-rand" ,rust-rand-0.4)))) + (home-page + "https://github.com/BurntSushi/byteorder") + (synopsis + "Reading/writing numbers in big-endian and little-endian") + (description + "Library for reading/writing numbers in big-endian and +little-endian.") + (license (list license:expat license:unlicense)))) + (define-public rust-cargon-0.0 (package (name "rust-cargon")