mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
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 @@ (define-public rust-gethostname-0.2
|
|||
(package
|
||||
(inherit rust-gethostname-0.3)
|
||||
(name "rust-gethostname")
|
||||
(version "0.2.1")
|
||||
(version "0.2.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gethostname" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0a609j9dhk816il2f2a01avvi5sqzxh0p38nxwrja7dcpybf54p6"))))
|
||||
(base32 "0bl6wf7zclzmjriipzh98rr84xv2ilj664z8ffxh0vn46m7d7sy1"))))
|
||||
(arguments
|
||||
`(#:tests? #f ; test panics
|
||||
#:cargo-inputs
|
||||
(("rust-libc" ,rust-libc-0.2)
|
||||
("rust-winapi" ,rust-winapi-0.3))
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
;; Not all files included
|
||||
"--skip=gethostname_matches_system_hostname")
|
||||
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||
("rust-winapi" ,rust-winapi-0.3))
|
||||
#:cargo-development-inputs
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))))
|
||||
(("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
|
||||
|
||||
(define-public rust-getopts-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue