gnu: Add rust-directories-4.

* gnu/packages/crates-io.scm (rust-directories-4): New variable.
(rust-directories-3): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-07 22:32:16 +01:00
parent aa771cc414
commit eb8f9dfb3b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -15293,25 +15293,22 @@ (define-public rust-digest-0.6
functions.")
(license (list license:expat license:asl2.0))))
(define-public rust-directories-3
(define-public rust-directories-4
(package
(name "rust-directories")
(version "3.0.1")
(version "4.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "directories" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq"))))
(base32 "045jbj5y2f1fmjs9rfcw95y0vjydb2rqqhz1sdnqhdmxv96ms77m"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dirs-sys" ,rust-dirs-sys-0.3))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1))))
`(#:skip-build? #t
#:cargo-inputs
(("rust-dirs-sys" ,rust-dirs-sys-0.3))))
(home-page "https://github.com/dirs-dev/directories-rs")
(synopsis "Library for standard locations of data directories")
(description
@ -15323,6 +15320,25 @@ (define-public rust-directories-3
Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
(define-public rust-directories-3
(package
(inherit rust-directories-4)
(name "rust-directories")
(version "3.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "directories" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq"))))
(arguments
`(#:cargo-inputs
(("rust-dirs-sys" ,rust-dirs-sys-0.3))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1))))))
(define-public rust-directories-2
(package
(inherit rust-directories-3)