mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: Add rust-fs-err-3.
* gnu/packages/crates-io.scm (rust-fs-err-3): New variable. (rust-fs-err-2): Inherit from rust-fs-err-3. Change-Id: Ia901ff00d5d40eddf999cd689146b6fca3426954
This commit is contained in:
parent
4556e0d299
commit
7ffaff5786
1 changed files with 25 additions and 8 deletions
|
@ -30411,8 +30411,32 @@ (define-public rust-fs-at-0.1
|
|||
various platforms.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-fs-err-3
|
||||
(package
|
||||
(name "rust-fs-err")
|
||||
(version "3.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "fs-err" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0zw01xqj302la1c7gnbfwi7b4pcgxv2xkjavk1czjkpk15s0xdlb"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)
|
||||
("rust-tokio" ,rust-tokio-1))
|
||||
#:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
|
||||
(home-page "https://github.com/andrewhickman/fs-err")
|
||||
(synopsis "@code{std::fs} with more helpful errors")
|
||||
(description
|
||||
"This package provides an alternative to @code{std::fs} with
|
||||
more helpful error messages.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-fs-err-2
|
||||
(package
|
||||
(inherit rust-fs-err-3)
|
||||
(name "rust-fs-err")
|
||||
(version "2.11.0")
|
||||
(source (origin
|
||||
|
@ -30422,19 +30446,12 @@ (define-public rust-fs-err-2
|
|||
(sha256
|
||||
(base32
|
||||
"0hdajzh5sjvvdjg0n15j91mv8ydvb7ff6m909frvdmg1bw81z948"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:cargo-inputs
|
||||
`(("rust-autocfg" ,rust-autocfg-1)
|
||||
("rust-tokio" ,rust-tokio-1))
|
||||
#:cargo-development-inputs
|
||||
`(("rust-serde-json" ,rust-serde-json-1))))
|
||||
(home-page "https://github.com/andrewhickman/fs-err")
|
||||
(synopsis "@code{std::fs} with more helpful errors")
|
||||
(description
|
||||
"This package provides an alternative to @code{std::fs} with
|
||||
more helpful error messages.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
`(("rust-serde-json" ,rust-serde-json-1))))))
|
||||
|
||||
(define-public rust-fs-extra-1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue