[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 22/86] gnu: Add rust-bytes.
From: |
ng0 |
Subject: |
[PATCH 22/86] gnu: Add rust-bytes. |
Date: |
Tue, 3 Jan 2017 23:35:38 +0000 |
* gnu/packages/rust.scm (rust-bytes): New variable.
---
gnu/packages/rust.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index ac5272d32..2a77ccb7c 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -731,3 +731,24 @@ as proposed in RFC 1158. They expand the surface area of
@code{std::net}
to bind more low-level interfaces and provide more advanced customization
and configuration of sockets.")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-bytes
+ (package
+ (name "rust-bytes")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bytes" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09vcp9kh12pva2xn2ir79k90v1a0id8f4sdv1abn5ifw2bqsyaf1"))))
+ (build-system cargo-build-system)
+ (native-inputs `(("rust-rand" ,rust-rand "src")))
+ (home-page "https://github.com/carllerche/bytes")
+ (synopsis "Types and traits for working with bytes")
+ (description
+ "Bytes provides a utility library for working with bytes.")
+ (license license:expat)))
--
2.11.0
- [PATCH 19/86] gnu: Add rust-thread-local., (continued)
- [PATCH 19/86] gnu: Add rust-thread-local., ng0, 2017/01/03
- [PATCH 18/86] gnu: Add rust-thread-id., ng0, 2017/01/03
- [PATCH 24/86] gnu: Add rust-pkg-config., ng0, 2017/01/03
- [PATCH 23/86] gnu: Add rust-openssl-probe., ng0, 2017/01/03
- [PATCH 30/86] gnu: Add rust-getopts., ng0, 2017/01/03
- [PATCH 20/86] gnu: Add rust-cfg-if., ng0, 2017/01/03
- [PATCH 27/86] gnu: Add rust-num-iter., ng0, 2017/01/03
- [PATCH 29/86] gnu: Add rust-matches., ng0, 2017/01/03
- [PATCH 25/86] gnu: Add rust-num-traits., ng0, 2017/01/03
- [PATCH 26/86] gnu: Add rust-num-integer., ng0, 2017/01/03
- [PATCH 22/86] gnu: Add rust-bytes.,
ng0 <=
- [PATCH 32/86] gnu: Add rust-encoding-index-japanese., ng0, 2017/01/03
- [PATCH 33/86] gnu: Add rust-encoding-index-korean., ng0, 2017/01/03
- [PATCH 36/86] gnu: Add rust-encoding-index-tradchinese., ng0, 2017/01/03
- [PATCH 39/86] gnu: Add rust-clippy-mini-macro-test., ng0, 2017/01/03
- [PATCH 35/86] gnu: Add rust-encoding-index-singlebyte., ng0, 2017/01/03
- [PATCH 37/86] gnu: Add rust-encoding., ng0, 2017/01/03
- [PATCH 34/86] gnu: Add rust-encoding-index-simpchinese., ng0, 2017/01/03
- [PATCH 28/86] gnu: Add rust-openssl-sys., ng0, 2017/01/03
- [PATCH 41/86] gnu: Add rust-fnv., ng0, 2017/01/03