mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-19 23:55:54 +02:00
gnu: Add rust-fs4-0.12.
* gnu/packages/crates-io.scm (rust-fs4-0.12): New variable. (rust-fs4-0.8): Inherit from rust-fs4-0.12. Change-Id: I09e49dfc023e7bb6d15063a818aa776b6cef75f1
This commit is contained in:
@@ -29518,8 +29518,43 @@ duplication.")
|
||||
"This package provides cross-platform file locks and file duplication.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-fs4-0.12
|
||||
(package
|
||||
(name "rust-fs4")
|
||||
(version "0.12.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "fs4" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "08gm0p6x133cav6yrcc3qhcr2qr1917yhj0bdx3psm0q8il31762"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; `#![feature]` may not be used on the stable release channel
|
||||
#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
|
||||
("rust-fs-err" ,rust-fs-err-3)
|
||||
("rust-fs-err" ,rust-fs-err-2)
|
||||
("rust-rustix" ,rust-rustix-0.38)
|
||||
("rust-smol" ,rust-smol-2)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-windows-sys" ,rust-windows-sys-0.52))
|
||||
#:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
|
||||
("rust-fs-err" ,rust-fs-err-3)
|
||||
("rust-fs-err" ,rust-fs-err-2)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-smol-potat" ,rust-smol-potat-1)
|
||||
("rust-tempdir" ,rust-tempdir-0.3)
|
||||
("rust-tokio" ,rust-tokio-1))))
|
||||
(home-page "https://github.com/al8n/fs4-rs")
|
||||
(synopsis "Pure Rust cross-platform file locks")
|
||||
(description
|
||||
"This package provides a no libc, pure Rust cross-platform file locks.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-fs4-0.8
|
||||
(package
|
||||
(inherit rust-fs4-0.12)
|
||||
(name "rust-fs4")
|
||||
(version "0.8.4")
|
||||
(source
|
||||
@@ -29529,7 +29564,6 @@ duplication.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1y0m3pk9iq16b61p3g643234bfy0kdbyjymxczklafy2fsn81qgp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; `#![feature]` may not be used on the stable release channel
|
||||
#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
|
||||
@@ -29541,12 +29575,7 @@ duplication.")
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-smol-potat" ,rust-smol-potat-1)
|
||||
("rust-tempdir" ,rust-tempdir-0.3)
|
||||
("rust-tokio" ,rust-tokio-1))))
|
||||
(home-page "https://github.com/al8n/fs4-rs")
|
||||
(synopsis "Pure Rust cross-platform file locks")
|
||||
(description
|
||||
"This package provides a no libc, pure Rust cross-platform file locks.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-tokio" ,rust-tokio-1))))))
|
||||
|
||||
(define-public rust-fsio-0.4
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user