gnu: rust-gethostname-0.2: Update to 0.2.3.
* gnu/packages/crates-io.scm (rust-gethostname-0.2): Update to 0.2.3. [arguments]: Don't skip the tests. Add cargo-test-flags. [cargo-development-inputs]: Replace rust-pretty-assertions-0.6 with 1. Change-Id: Id999846e0d1a231564b4e49e16038e164863b511 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
cd67838b9f
commit
89525439ef
1 changed files with 9 additions and 7 deletions
|
@ -25859,21 +25859,23 @@ platforms.")
|
||||||
(package
|
(package
|
||||||
(inherit rust-gethostname-0.3)
|
(inherit rust-gethostname-0.3)
|
||||||
(name "rust-gethostname")
|
(name "rust-gethostname")
|
||||||
(version "0.2.1")
|
(version "0.2.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "gethostname" version))
|
(uri (crate-uri "gethostname" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0a609j9dhk816il2f2a01avvi5sqzxh0p38nxwrja7dcpybf54p6"))))
|
(base32 "0bl6wf7zclzmjriipzh98rr84xv2ilj664z8ffxh0vn46m7d7sy1"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; test panics
|
`(#:cargo-test-flags
|
||||||
#:cargo-inputs
|
'("--release" "--"
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
;; Not all files included
|
||||||
("rust-winapi" ,rust-winapi-0.3))
|
"--skip=gethostname_matches_system_hostname")
|
||||||
|
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-winapi" ,rust-winapi-0.3))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))))
|
(("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
|
||||||
|
|
||||||
(define-public rust-getopts-0.2
|
(define-public rust-getopts-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue