[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/26: gnu: Add rust-gethostname-0.2.
From: |
guix-commits |
Subject: |
04/26: gnu: Add rust-gethostname-0.2. |
Date: |
Fri, 17 Sep 2021 06:26:16 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 15f60fec5d020a3be2d20d15ed486b2cdd92d5e3
Author: phodina <phodina@protonmail.com>
AuthorDate: Fri Sep 3 22:36:02 2021 +0000
gnu: Add rust-gethostname-0.2.
* gnu/packages/crates-io.scm (rust-gethostname-0.2): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f6a54e..f17084d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18742,6 +18742,31 @@ interfaces on the system.")
@code{_getch} on Windows, and @code{termios} on Unix.")
(license license:asl2.0)))
+(define-public rust-gethostname-0.2
+ (package
+ (name "rust-gethostname")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gethostname" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a609j9dhk816il2f2a01avvi5sqzxh0p38nxwrja7dcpybf54p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; test panics
+ #: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))))
+ (home-page "https://github.com/lunaryorn/gethostname.rs")
+ (synopsis "Gethostname for all platforms")
+ (description "This library provides @code{gethostname()} for all
+platforms.")
+ (license license:asl2.0)))
+
(define-public rust-getopts-0.2
(package
(name "rust-getopts")
- branch master updated (bb49701 -> 4e2ee45), guix-commits, 2021/09/17
- 02/26: gnu: Add rust-progress-0.2., guix-commits, 2021/09/17
- 03/26: gnu: Add rust-supercow-0.1., guix-commits, 2021/09/17
- 01/26: gnu: Add rust-assert-fs-1., guix-commits, 2021/09/17
- 05/26: gnu: Add rust-ascii-utils-0.9., guix-commits, 2021/09/17
- 07/26: gnu: Add rust-lettre-0.9., guix-commits, 2021/09/17
- 09/26: gnu: Add rust-lettre-email-0.9., guix-commits, 2021/09/17
- 11/26: gnu: Add rust-quoted-printable-0.4., guix-commits, 2021/09/17
- 04/26: gnu: Add rust-gethostname-0.2.,
guix-commits <=
- 06/26: gnu: Add rust-fast-chemail-0.9., guix-commits, 2021/09/17
- 08/26: gnu: Add rust-email-0.0.20., guix-commits, 2021/09/17
- 12/26: gnu: Add rust-mailparse-0.13., guix-commits, 2021/09/17
- 14/26: gnu: Add rust-notmuch-0.6., guix-commits, 2021/09/17
- 15/26: gnu: Add rust-swayipc-command-builder-0.1., guix-commits, 2021/09/17
- 17/26: gnu: Add rust-buffering-nocopy-macro-0.1., guix-commits, 2021/09/17
- 18/26: gnu: Add rust-buffering-nocopy-macro-0.2., guix-commits, 2021/09/17
- 22/26: gnu: Add rust-nl80211-0.0.2., guix-commits, 2021/09/17
- 23/26: gnu: Add rust-assert-impl-0.1., guix-commits, 2021/09/17
- 21/26: gnu: Add rust-neli-0.4., guix-commits, 2021/09/17