gnu: Add rust-dirs-sys-0.4.

* gnu/packages/crates-io.scm (rust-dirs-sys-0.4): New variable.
(rust-dirs-sys-0.3): Inherit from rust-dirs-sys-0.4.
This commit is contained in:
Efraim Flashner 2023-05-22 16:52:31 +03:00
parent 08c1933153
commit ac7e896c65
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -19249,8 +19249,35 @@ (define-public rust-dirs-next-1
(home-page "https://github.com/xdg-rs/dirs")
(license (list license:expat license:asl2.0))))
(define-public rust-dirs-sys-0.4
(package
(name "rust-dirs-sys")
(version "0.4.1")
(source (origin
(method url-fetch)
(uri (crate-uri "dirs-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"071jy0pvaad9lsa6mzawxrh7cmr7hsmsdxwzm7jzldfkrfjha3sj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-option-ext" ,rust-option-ext-0.2)
("rust-redox-users" ,rust-redox-users-0.4)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/dirs-dev/dirs-sys-rs")
(synopsis
"System-level helper functions for the dirs and directories crates")
(description
"This package provides system-level helper functions for the @code{dirs}
and @code{directories} crates.")
(license (list license:expat license:asl2.0))))
(define-public rust-dirs-sys-0.3
(package
(inherit rust-dirs-sys-0.4)
(name "rust-dirs-sys")
(version "0.3.6")
(source
@ -19261,7 +19288,6 @@ (define-public rust-dirs-sys-0.3
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "102pbpcrfhvhfyfnyvmvvwpl6mfvynh170f6ima6fyinxls6bn03"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
@ -19269,14 +19295,7 @@ (define-public rust-dirs-sys-0.3
("rust-winapi" ,rust-winapi-0.3))))
(inputs
(list rust-cfg-if-0.1 rust-libc-0.2 rust-redox-users-0.3
rust-winapi-0.3))
(home-page "https://github.com/soc/dirs-sys-rs")
(synopsis
"System-level helper functions for the dirs and directories crates")
(description
"This package provides system-level helper functions for the @code{dirs}
and @code{directories} crates.")
(license (list license:asl2.0 license:expat))))
rust-winapi-0.3))))
(define-public rust-dirs-sys-next-0.1
(package