[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40874] [PATCH 14/94] gnu: Add rust-bytes-0.5.
From: |
Hartmut Goebel |
Subject: |
[bug#40874] [PATCH 14/94] gnu: Add rust-bytes-0.5. |
Date: |
Sun, 26 Apr 2020 18:44:53 +0200 |
* gnu/packages/crates-io.scm (rust-bytes-0.5): New variable.
(rust-bytes-0.4): Inherit from it.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5dbc3f4fe8..a87808b174 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1776,8 +1776,32 @@ little-endian.")
(("rust-quickcheck" ,rust-quickcheck-0.2)
("rust-rand" ,rust-rand-0.3))))))
-(define-public rust-bytes-0.4
+(define-public rust-bytes-0.5
(package
+ (name "rust-bytes")
+ (version "0.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bytes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q9r7si1l8vndg4n2ny2nv833ghp5vyqzk5indb9rmhd5ibaq2hk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXME requires Raus >= 1.39
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-loom" ,rust-loom-0.2)
+ ("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page "https://github.com/tokio-rs/bytes")
+ (synopsis "Types and traits for working with bytes")
+ (description "Types and traits for working with bytes.")
+ (license license:expat)))
+
+(define-public rust-bytes-0.4
+ (package/inherit rust-bytes-0.5
(name "rust-bytes")
(version "0.4.12")
(source
@@ -1798,13 +1822,7 @@ little-endian.")
("rust-iovec" ,rust-iovec-0.1)
("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
- (("rust-serde-test" ,rust-serde-test-1.0))))
- (home-page "https://github.com/tokio-rs/bytes")
- (synopsis
- "Types and traits for working with bytes")
- (description
- "Types and traits for working with bytes.")
- (license license:expat)))
+ (("rust-serde-test" ,rust-serde-test-1.0))))))
(define-public rust-bytes-0.3
(package
--
2.21.3
- [bug#40874] [PATCH 09/94] gnu: Add rust-assert-cli-0.6., (continued)
- [bug#40874] [PATCH 09/94] gnu: Add rust-assert-cli-0.6., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 04/94] gnu: Update rust-wasm-bindgen-futures-0.3 to 0.3.27., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 10/94] gnu: Add rust-base64-0.9., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 06/94] gnu: Update rust-syn-1.0 to 1.0.17., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 11/94] gnu: Add rust-bindgen-0.51., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 12/94] gnu: Add rust-bindgen-0.49., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 18/94] gnu: Add rust-capnp-rpc-0.10., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 13/94] gnu: Add rust-bitflags-0.5, Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 20/94] gnu: Add rust-crossterm-winapi-0.4., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 02/94] gnu: Update rust-failure-derive-0.1 to 0.1.7, Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 14/94] gnu: Add rust-bytes-0.5.,
Hartmut Goebel <=
- [bug#40874] [PATCH 16/94] gnu: Add rust-capnpc-0.10., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 19/94] gnu: Add rust-colored-1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 17/94] gnu: Add rust-capnp-futures-0.10., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 15/94] gnu: Add rust-capnp-0.10., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 22/94] gnu: Add rust-ctor-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 21/94] gnu: Add rust-crossterm-0.13., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 23/94] gnu: Add rust-ct-logs-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 24/94] gnu: Add rust-derive-new-0.5., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 25/94] gnu: Add rust-derive-builder-0.5., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 27/94] gnu: Add rust-difference-1., Hartmut Goebel, 2020/04/26