From: Steve George <steve@futurile.net>
To: 66839@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>, efraim@flashner.co.il
Subject: [bug#66839] [PATCH 03/19] gnu: rust-gethostname-0.4.
Date: Mon, 30 Oct 2023 21:06:09 +0000 [thread overview]
Message-ID: <4f93e2d70216afc5bafb50cb9ceec8287b5bc691.1698699809.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1698696699.git.steve@futurile.net>
* gnu/packages/crates-io.scm (rust-gethostname-0.4): New variable.
Change-Id: I113a2ed209cf6285df02df60178310f0cda80741
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9983f9ccb2..687a583f20 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28636,8 +28636,32 @@ (define-public rust-get-if-addrs-sys-0.1
interfaces on the system.")
(license (list license:expat license:bsd-3))))
+(define-public rust-gethostname-0.4
+ (package
+ (name "rust-gethostname")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gethostname" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "063qqhznyckwx9n4z4xrmdv10s0fi6kbr17r6bi1yjifki2y0xh1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags (list "--release" "--"
+ "--skip=gethostname_matches_system_hostname")
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-windows-targets" ,rust-windows-targets-0.48))))
+ (home-page "https://github.com/swsnr/gethostname.rs")
+ (synopsis "Rust implementation of gethostname for all platforms")
+ (description "A Rust library that provides @code{gethostname()} for all
+platforms.")
+ (license license:asl2.0)))
+
(define-public rust-gethostname-0.3
(package
+ (inherit rust-gethostname-0.4)
(name "rust-gethostname")
(version "0.3.0")
(source
@@ -28647,7 +28671,6 @@ (define-public rust-gethostname-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xy1wbx5k2bzi4cbaqj9wqgqsbn4f8pm6nsm1d86mibk66xd8rdv"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -28655,12 +28678,7 @@ (define-public rust-gethostname-0.3
"--skip=gethostname_matches_system_hostname")
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/swsnr/gethostname.rs")
- (synopsis "Gethostname for all platforms")
- (description "This library provides @code{gethostname()} for all
-platforms.")
- (license license:asl2.0)))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-gethostname-0.2
(package
--
2.41.0
next prev parent reply other threads:[~2023-10-30 21:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 20:16 [bug#66839] [PATCH 00/19] Series to add spotifyd Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 01/19] gnu: Add rust-librespot-connect-0.4 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 02/19] gnu: Add rust-daemonize-0.5 Steve George
2023-10-30 21:06 ` Steve George [this message]
2023-10-30 21:06 ` [bug#66839] [PATCH 04/19] gnu: rust-libdbus-sys-0.2: Update to 0.2.5 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 05/19] gnu: rust-dbus-0.9: Update to 0.9.7 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 06/19] gnu: Add rust-dbus-crossroads-0.5 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 07/19] gnu: Add rust-dbus-tokio-0.7 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 08/19] gnu: rust-heapless-0.5: Update to 0.5.6 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 09/19] gnu: Add rust-ansi-parser-0.8 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 10/19] gnu: Add rust-tracing-error-0.2 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 11/19] gnu: Add rust-color-spantrace-0.2 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 12/19] gnu: Add rust-color-eyre-0.6 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 13/19] gnu: Add rust-syslog-6 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 14/19] gnu: Add rust-simple-logging-2 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 15/19] gnu: Add rust-reopen-1 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 16/19] gnu: Update rust-reopen-0.3 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 17/19] gnu: rust-fern-0.6: Update to 0.6.2, add rust-syslog-6 dependency Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 18/19] gnu: rust-sha-1-0.10: Downgrade to 0.10.1 Steve George
2023-10-30 21:06 ` [bug#66839] [PATCH 19/19] gnu: Add rust-spotifyd-0.3 Steve George
2023-11-05 10:31 ` bug#66839: [PATCH 00/19] Series to add spotifyd Efraim Flashner
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=4f93e2d70216afc5bafb50cb9ceec8287b5bc691.1698699809.git.steve@futurile.net \
--to=steve@futurile.net \
--cc=66839@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/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.