[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/26: gnu: rust-io-lifetimes: Add 1.0.3.
From: |
guix-commits |
Subject: |
23/26: gnu: rust-io-lifetimes: Add 1.0.3. |
Date: |
Sun, 4 Dec 2022 11:38:26 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit 8767e0534d346ac1fa648d0d89c28ca8cebabc99
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 4 17:12:16 2022 +0100
gnu: rust-io-lifetimes: Add 1.0.3.
* gnu/packages/crates-io.scm (rust-io-lifetimes-1): New variable.
(rust-io-lifetimes-0.7): Inherit from it.
---
gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68a461e5fa..4871435d48 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28322,8 +28322,38 @@ versions < 0.2.")
;; Either license can be chosen at the users option.
(license (list license:expat license:asl2.0))))
+(define-public rust-io-lifetimes-1
+ (package
+ (name "rust-io-lifetimes")
+ (version "1.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "io-lifetimes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0g76f1c4w3cgyl6qn3kfmi7srphrmjhx3a0rl4qks4ib4n9jl4a6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-fs-err" ,rust-fs-err-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.8)
+ ("rust-os-pipe" ,rust-os-pipe-1)
+ ("rust-socket2" ,rust-socket2-0.4)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.42))))
+ (home-page "https://github.com/sunfishcode/io-lifetimes")
+ (synopsis "Low-level I/O ownership and borrowing library")
+ (description
+ "This package provides a low-level I/O ownership and borrowing
+library.")
+ ;; The user can choose either license.
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-io-lifetimes-0.7
(package
+ (inherit rust-io-lifetimes-1)
(name "rust-io-lifetimes")
(version "0.7.5")
(source (origin
@@ -28333,7 +28363,6 @@ versions < 0.2.")
(sha256
(base32
"0x10ak2iy4p24g7bnp1rfrq6aqddjlzkykgwjdayi7nl97wmxkjr"))))
- (build-system cargo-build-system)
(arguments
(list #:cargo-inputs
`(("rust-async-std" ,rust-async-std-1)
@@ -28343,14 +28372,7 @@ versions < 0.2.")
("rust-os-pipe" ,rust-os-pipe-1)
("rust-socket2" ,rust-socket2-0.4)
("rust-tokio" ,rust-tokio-1)
- ("rust-windows-sys" ,rust-windows-sys-0.42))))
- (home-page "https://github.com/sunfishcode/io-lifetimes")
- (synopsis "Low-level I/O ownership and borrowing library")
- (description
- "This package provides a low-level I/O ownership and borrowing
-library.")
- (license (list license:asl2.0
- license:expat))))
+ ("rust-windows-sys" ,rust-windows-sys-0.42))))))
(define-public rust-iovec-0.1
(package
- 06/26: gnu: rust-itertools: Update to 0.10.5., (continued)
- 06/26: gnu: rust-itertools: Update to 0.10.5., guix-commits, 2022/12/04
- 13/26: gnu: Add rust-ciborium-io., guix-commits, 2022/12/04
- 15/26: gnu: rust-rstest: Add 0.11.0., guix-commits, 2022/12/04
- 16/26: gnu: Add rust-ciborium., guix-commits, 2022/12/04
- 21/26: gnu: rust-hermit-abi: Add 0.2.6., guix-commits, 2022/12/04
- 20/26: gnu: rust-clap-lex: Add 0.3.0., guix-commits, 2022/12/04
- 19/26: gnu: rust-criterion: Add 0.4.0., guix-commits, 2022/12/04
- 22/26: gnu: rust-os-pipe: Update to 1.1.2., guix-commits, 2022/12/04
- 24/26: gnu: rust-linux-raw-sys: Add 0.1.3., guix-commits, 2022/12/04
- 26/26: gnu: Add rust-is-terminal., guix-commits, 2022/12/04
- 23/26: gnu: rust-io-lifetimes: Add 1.0.3.,
guix-commits <=
- 14/26: gnu: Add rust-ciborium-ll., guix-commits, 2022/12/04
- 25/26: gnu: rust-rustix: Add 0.36.4., guix-commits, 2022/12/04