summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-13 22:50:39 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:12 +0200
commit141397564e0bccaad0ea7502fd4fab23cd81bd6b (patch)
treeb1c5a2f14e63a6fdef3e9cd661a234c2b4f1fc38 /gnu/packages/crates-io.scm
parentef46db38a9527e9bd4b7489d5bed41cf10820955 (diff)
gnu: Add rust-byteorder-1.3.
* gnu/packages/crates-io.scm (rust-byteorder-1.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
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 @@ UTF-8.")
(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")