From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cI1uGy0bQGU6jgAAG6o9tA:P1 (envelope-from ) for ; Mon, 30 Oct 2023 22:07:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cI1uGy0bQGU6jgAAG6o9tA (envelope-from ) for ; Mon, 30 Oct 2023 22:07:57 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E5FE438E5 for ; Mon, 30 Oct 2023 22:07:56 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698700077; a=rsa-sha256; cv=none; b=qSlSYCfrclZGPFuwIfhWEPnWb+Db2+g9xMSQTTYrxXDXVmQCDSEVeir9bvWgrfJA/ZCZKa ndMgvuA4ypOUEIPfxtIoGNKeqSgYOOuOUyCCXBZXvk98rXzMN/qWD5MoU0TI0lxqhgT6CE H9wo4eVtqJSLeO6URGpAiV7qJsQ98cKogcAZ2/uHRKq9A9ig3Dl8r38JllzPyLtt1svdYm UUuZYMCxbamVC8w6KBxS/Rggda3rw4XrLRqzVXmgzCxf5/ppwMXB6p8/elA1dWn2+Sz16b s9KVhElLocZKHoAaBTzWkhHTwYUhuFhOCFQbbD61wTHLGdQVZpcLShEpBBnyhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698700077; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=r47hCsdwEr3I9GV4+PoCYFVqeqXO3K2rV12eq4pAgU4=; b=uVXJJ81J0lu1fhDRIRf4DcSazGltxDZ0kAljYpv5hS5H9pmVZNK78uXVRAQNMidGxop1gg 4rBRkA/laZXJOUfkRE85zYFuZpUGtvkqet3vjGNdQtTmW3Z5j5wy19Ka+DmAKA0zh9FTCq hDeenhmL47Y8w+faZx9r1yHk5+os3z6YZizw58Yy9R36TWxXvALGysqUblQ3m65c789xcC AYcHckKmlsSqoWATI8L8kEOc1CWpFuO70nPaDW4oji2YZSnBc2yAFNInItxxWb+vOsDfCY 2nSScWJbskc31Qy8cb4I5eQx3Bom25ga9AI7W/MMTVpHvW4DHd6bIcz7sZ+VqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZTu-0005sP-IN; Mon, 30 Oct 2023 17:07:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxZTt-0005s5-5X for guix-patches@gnu.org; Mon, 30 Oct 2023 17:07:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxZTs-0004YZ-Rh for guix-patches@gnu.org; Mon, 30 Oct 2023 17:07:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxZUP-0000fd-Ud; Mon, 30 Oct 2023 17:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66839] [PATCH 03/19] gnu: rust-gethostname-0.4. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Oct 2023 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66839@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66839-submit@debbugs.gnu.org id=B66839.16987000772556 (code B ref 66839); Mon, 30 Oct 2023 21:08:01 +0000 Received: (at 66839) by debbugs.gnu.org; 30 Oct 2023 21:07:57 +0000 Received: from localhost ([127.0.0.1]:46781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUL-0000f8-0G for submit@debbugs.gnu.org; Mon, 30 Oct 2023 17:07:57 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:54032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUI-0000ej-WB for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 17:07:56 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxZTe-00FbHz-VC for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:14 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxZTe-0001qz-LX for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:14 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxZTa-006vLG-Ci; Mon, 30 Oct 2023 22:07:10 +0100 From: Steve George Date: Mon, 30 Oct 2023 21:06:09 +0000 Message-ID: <4f93e2d70216afc5bafb50cb9ceec8287b5bc691.1698699809.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.71 X-Migadu-Queue-Id: 9E5FE438E5 X-Migadu-Spam-Score: -4.71 X-TUID: oL3Dd9HObQar * 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