all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "50362@debbugs.gnu.org" <50362@debbugs.gnu.org>
Subject: [bug#50362] [PATCH 04/26] gnu: Add rust-gethostname-0.2.
Date: Fri, 03 Sep 2021 22:36:02 +0000	[thread overview]
Message-ID: <ebdjuwOg1F73ucfRsXxvSsbR_tMFCxaKHxWTLA5U3iN1P2Paeoy2bAdTTXgoeA7jepeWRnJmxRU-hPPeglZmk6E13FIUHpw0Yrc2Fee_na4=@protonmail.com> (raw)
In-Reply-To: <YTX3E90n3ZFNtcDAa6JCMd99W5FIebdtw4ERo97lasN4S_9zNDx7UL9LkbWmA4I_QLeuOp0bvRpeI4Q-uoisMDLnwJKiTzsZQTqH84y1b04=@protonmail.com>

* gnu/packages/crates-io.scm (rust-gethostname-0.2): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ccb461f496..d8952e58ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18519,6 +18519,34 @@ 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 "Gethostname for all platforms")
+    (license license:asl2.0)))
+
 (define-public rust-getopts-0.2
   (package
     (name "rust-getopts")
--
2.32.0




  parent reply	other threads:[~2021-09-03 22:37 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 22:27 [bug#50362] [PATCH 01/26] gnu: Add rust-assert-fs-1 phodina via Guix-patches via
2021-09-03 22:33 ` [bug#50362] [PATCH 02/26] gnu: Add rust-progress-0.2 phodina via Guix-patches via
2021-09-03 22:34 ` [bug#50362] [PATCH 03/26] gnu: Add rust-supercow-0.1 phodina via Guix-patches via
2021-09-03 22:36 ` phodina via Guix-patches via [this message]
2021-09-03 22:37 ` [bug#50362] [PATCH 05/26] gnu: Add rust-bufstream-0.1 phodina via Guix-patches via
2021-09-03 22:38 ` [bug#50362] [PATCH 06/26] gnu: Add rust-ascii-utils-0.9 phodina via Guix-patches via
2021-09-03 22:40 ` [bug#50362] [PATCH 07/26] gnu: Add rust-fast-chemail-0.9 phodina via Guix-patches via
2021-09-03 22:41 ` [bug#50362] [PATCH 08/26] gnu: Add rust-lettre-0.9 phodina via Guix-patches via
2021-09-03 22:41 ` [bug#50362] [PATCH 09/26] gnu: Add rust-email-0.0.20 phodina via Guix-patches via
2021-09-03 22:43 ` [bug#50362] [PATCH 10/26] gnu: Add rust-lettre-email-0.9 phodina via Guix-patches via
2021-09-03 22:43 ` [bug#50362] [PATCH 11/26] gnu: Add rust-charset-0.1 phodina via Guix-patches via
2021-09-03 22:44 ` [bug#50362] [PATCH 12/26] gnu: Add rust-quoted-printable-0.4 phodina via Guix-patches via
2021-09-03 22:45 ` [bug#50362] [PATCH 13/26] gnu: Add rust-mailparse-0.13 phodina via Guix-patches via
2021-09-03 22:46 ` [bug#50362] [PATCH 14/26] gnu: Add rust-maildir-0.5 phodina via Guix-patches via
2021-09-03 22:47 ` [bug#50362] [PATCH 15/26] gnu: Add rust-notmuch-0.6 phodina via Guix-patches via
2021-09-03 22:48 ` [bug#50362] [PATCH 16/26] gnu: Add rust-swayipc-command-builder-0.1 phodina via Guix-patches via
2021-09-03 22:49 ` [bug#50362] [PATCH 17/26] gnu: Add rust-swayipc-2 phodina via Guix-patches via
2021-09-03 22:50 ` [bug#50362] [PATCH 18/26] gnu: Add rust-buffering-nocopy-macro-0.1 phodina via Guix-patches via
2021-09-03 22:51 ` [bug#50362] [PATCH 19/26] gnu: Add rust-buffering-0.3 phodina via Guix-patches via
2021-09-03 22:52 ` [bug#50362] [PATCH 20/26] gnu: Add rust-buffering-0.4 phodina via Guix-patches via
2021-09-03 22:54 ` [bug#50362] [PATCH 21/26] gnu: Add rust-neli-0.4 phodina via Guix-patches via
2021-09-03 22:55 ` [bug#50362] [PATCH 22/26] gnu: Add rust-nl80211-0.0.2 phodina via Guix-patches via
2021-09-03 22:56 ` [bug#50362] [PATCH 23/26] gnu: Add rust-assert-impl-0.1 phodina via Guix-patches via
2021-09-03 22:57 ` [bug#50362] [PATCH 24/26] gnu: Add rust-caps-0.5 phodina via Guix-patches via
2021-09-03 22:58 ` [bug#50362] [PATCH 25/26] gnu: Add rust-dbus-0.9 phodina via Guix-patches via
2021-09-03 23:01 ` [bug#50362] [PATCH 26/26] gnu: Add rust-dbus-tree-0.9 phodina via Guix-patches via
2021-09-17 10:30   ` bug#50362: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ebdjuwOg1F73ucfRsXxvSsbR_tMFCxaKHxWTLA5U3iN1P2Paeoy2bAdTTXgoeA7jepeWRnJmxRU-hPPeglZmk6E13FIUHpw0Yrc2Fee_na4=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=50362@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.