gnu: rust-xdg-2: Update to 2.5.0.
* gnu/packages/crates-io.scm (rust-xdg-2): Update to 2.5.0. [arguments]: Add a phase to help the test suite. [cargo-inputs]: Add rust-home-0.5, rust-serde-1. Remove rust-dirs-4.
This commit is contained in:
parent
4b0a06a916
commit
5bd051cb2c
1 changed files with 11 additions and 3 deletions
|
@ -76294,16 +76294,24 @@ extended attributes.")
|
||||||
(define-public rust-xdg-2
|
(define-public rust-xdg-2
|
||||||
(package
|
(package
|
||||||
(name "rust-xdg")
|
(name "rust-xdg")
|
||||||
(version "2.4.1")
|
(version "2.5.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "xdg" version))
|
(uri (crate-uri "xdg" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1xl81zfx5fsc5n06h77s0fvrslzhh2piabfz0c1lqk5xbkdq6i8c"))))
|
(base32 "1vkzfsy3n85qnn1076h9111jg3h7k9r99jqi8nnrq3kmbbdrg1b8"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4))))
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-home" ,rust-home-0.5)
|
||||||
|
("rust-serde" ,rust-serde-1))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" (getcwd)))))))
|
||||||
(home-page "https://github.com/whitequark/rust-xdg")
|
(home-page "https://github.com/whitequark/rust-xdg")
|
||||||
(synopsis "Store and retrieve files according to XDG specification")
|
(synopsis "Store and retrieve files according to XDG specification")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue