mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
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.
This commit is contained in:
parent
82e2e3dd53
commit
aec7244a75
1 changed files with 31 additions and 9 deletions
|
@ -28307,8 +28307,38 @@ versions < 0.2.")
|
||||||
;; Either license can be chosen at the users option.
|
;; Either license can be chosen at the users option.
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-io-lifetimes-0.7
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-io-lifetimes-1)
|
||||||
(name "rust-io-lifetimes")
|
(name "rust-io-lifetimes")
|
||||||
(version "0.7.5")
|
(version "0.7.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -28318,7 +28348,6 @@ versions < 0.2.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0x10ak2iy4p24g7bnp1rfrq6aqddjlzkykgwjdayi7nl97wmxkjr"))))
|
"0x10ak2iy4p24g7bnp1rfrq6aqddjlzkykgwjdayi7nl97wmxkjr"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:cargo-inputs
|
(list #:cargo-inputs
|
||||||
`(("rust-async-std" ,rust-async-std-1)
|
`(("rust-async-std" ,rust-async-std-1)
|
||||||
|
@ -28328,14 +28357,7 @@ versions < 0.2.")
|
||||||
("rust-os-pipe" ,rust-os-pipe-1)
|
("rust-os-pipe" ,rust-os-pipe-1)
|
||||||
("rust-socket2" ,rust-socket2-0.4)
|
("rust-socket2" ,rust-socket2-0.4)
|
||||||
("rust-tokio" ,rust-tokio-1)
|
("rust-tokio" ,rust-tokio-1)
|
||||||
("rust-windows-sys" ,rust-windows-sys-0.42))))
|
("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))))
|
|
||||||
|
|
||||||
(define-public rust-iovec-0.1
|
(define-public rust-iovec-0.1
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue