diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 12:48:14 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 15:05:23 +0300 |
commit | f1e81de926254eea0778d0b8ff12b67d0b4be6e2 (patch) | |
tree | 732a748bf9ea58ff4537b66cfd6c0d66deacaf81 /gnu | |
parent | d48ce6f098f39faa4bc0390bf2d231acf3abe80c (diff) | |
download | guix-f1e81de926254eea0778d0b8ff12b67d0b4be6e2.tar.gz |
gnu: Add rust-hostname.
* gnu/packages/crates-io.scm (rust-hostname): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 60cc63009c..ea2b5ec0f0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -519,6 +519,29 @@ hexadecimal representation.") (license (list license:asl2.0 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 (package (name "rust-iovec") |