[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
426/436: gnu: rust-gethostname-0.4.
From: |
guix-commits |
Subject: |
426/436: gnu: rust-gethostname-0.4. |
Date: |
Sun, 5 Nov 2023 05:30:17 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e6760ed89e11f3c6dc268485904739e2ad4dda2a
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 30 21:06:09 2023 +0000
gnu: rust-gethostname-0.4.
* 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 d037851dbd..52b39b10ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29342,8 +29342,32 @@ Rust.")
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
@@ -29353,7 +29377,6 @@ interfaces on the system.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xy1wbx5k2bzi4cbaqj9wqgqsbn4f8pm6nsm1d86mibk66xd8rdv"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -29361,12 +29384,7 @@ interfaces on the system.")
"--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
- 401/436: gnu: rust-signal-hook-0.3: Update to 0.3.17., (continued)
- 401/436: gnu: rust-signal-hook-0.3: Update to 0.3.17., guix-commits, 2023/11/05
- 402/436: gnu: Add rust-serial-test-derive-0.7., guix-commits, 2023/11/05
- 406/436: gnu: rust-crossterm-winapi-0.9: Don't skip build., guix-commits, 2023/11/05
- 408/436: gnu: Add rust-uzers-0.11., guix-commits, 2023/11/05
- 409/436: gnu: Add rust-uutils-term-grid-0.3., guix-commits, 2023/11/05
- 410/436: gnu: Add rust-isolang-2., guix-commits, 2023/11/05
- 411/436: gnu: Add rust-timeago-0.4., guix-commits, 2023/11/05
- 413/436: gnu: Add rust-proc-mounts-0.3., guix-commits, 2023/11/05
- 419/436: gnu: Add libgit2-1.7., guix-commits, 2023/11/05
- 425/436: gnu: Add rust-daemonize-0.5., guix-commits, 2023/11/05
- 426/436: gnu: rust-gethostname-0.4.,
guix-commits <=
- 418/436: gnu: Add rust-ansiterm-0.12., guix-commits, 2023/11/05
- 429/436: gnu: Add rust-dbus-crossroads-0.5., guix-commits, 2023/11/05
- 176/436: gnu: Add rust-sc-0.2., guix-commits, 2023/11/05
- 260/436: gnu: rust-num-integer-0.1: Update to 0.1.45., guix-commits, 2023/11/05
- 257/436: gnu: rust-num-derive-0.3: Update to 0.3.3., guix-commits, 2023/11/05
- 285/436: gnu: rust-tectonic-bridge-graphite2-0.2: Update to 0.2.2., guix-commits, 2023/11/05
- 303/436: gnu: rust-tectonic-xetex-layout-0.2: Update to 0.2.3., guix-commits, 2023/11/05
- 309/436: gnu: rust-analyzer: Move to rust.scm., guix-commits, 2023/11/05
- 310/436: gnu: zoxide: Remove old rust version workaround., guix-commits, 2023/11/05
- 320/436: gnu: rust-sha-1-0.8: Fix build., guix-commits, 2023/11/05