gnu: Add rust-hostname.
* gnu/packages/crates-io.scm (rust-hostname): New variable.
This commit is contained in:
parent
d48ce6f098
commit
f1e81de926
|
@ -519,6 +519,29 @@ hexadecimal representation.")
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-hostname
|
||||||
|
(package
|
||||||
|
(name "rust-hostname")
|
||||||
|
(version "0.1.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "hostname" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-libc" ,rust-libc)
|
||||||
|
("rust-winutil" ,rust-winutil))))
|
||||||
|
(home-page "https://github.com/fengcen/hostname")
|
||||||
|
(synopsis "Get hostname for Rust")
|
||||||
|
(description
|
||||||
|
"Get hostname for Rust.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-iovec
|
(define-public rust-iovec
|
||||||
(package
|
(package
|
||||||
(name "rust-iovec")
|
(name "rust-iovec")
|
||||||
|
|
Loading…
Reference in New Issue