guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 56/86] gnu: Add rust-byteorder.


From: ng0
Subject: [PATCH 56/86] gnu: Add rust-byteorder.
Date: Tue, 3 Jan 2017 23:36:12 +0000

* gnu/packages/rust.scm (rust-byteorder): New variable.
---
 gnu/packages/rust.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 36ae31579..0f6c385f0 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1543,3 +1543,27 @@ Koen Claessen's QuickCheck for Haskell.")
 data validation).  This implementation conforms to the official
 description of Docopt.")
     (license (list license:unlicense license:expat))))
+
+(define-public rust-byteorder
+  (package
+    (name "rust-byteorder")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "byteorder" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1j0qvrvpmk01v5qkmp5l7gmjvlpxxygivm1w074qb63bxsq7f2f4"))))
+    (build-system cargo-build-system)
+    (native-inputs
+     `(("rust-quickcheck" ,rust-quickcheck "src")
+       ("rust-rand" ,rust-rand "src")))
+    (home-page "https://github.com/BurntSushi/byteorder";)
+    (synopsis "Library for numbers in big-endian and little-endian")
+    (description
+     "@code{byteorder} is a library for reading/writing numbers in
+big-endian and little-endian.")
+    (license (list license:unlicense license:expat))))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]