From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMtyG/4G62CYmAAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 16:58:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aDD2Fv4G62BwTgAAbx9fmQ (envelope-from ) for ; Sun, 11 Jul 2021 14:58:06 +0000 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 2306D1C0F for ; Sun, 11 Jul 2021 16:58:06 +0200 (CEST) Received: from localhost ([::1]:49948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2auD-0000xp-89 for larch@yhetil.org; Sun, 11 Jul 2021 10:58:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2atK-0006SX-7v for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2atJ-0007BV-U5 for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2atJ-0003ed-Tm for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 14:57:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49383@debbugs.gnu.org Cc: Domagoj Stolfa Received: via spool by 49383-submit@debbugs.gnu.org id=B49383.162601541713846 (code B ref 49383); Sun, 11 Jul 2021 14:57:09 +0000 Received: (at 49383) by debbugs.gnu.org; 11 Jul 2021 14:56:57 +0000 Received: from localhost ([127.0.0.1]:35661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2at6-0003bA-Lj for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:57 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:37523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2asw-0003Xc-Oj for 49383@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:47 -0400 Received: by mail-wr1-f50.google.com with SMTP id i94so20812321wri.4 for <49383@debbugs.gnu.org>; Sun, 11 Jul 2021 07:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nWa2KvLa6w+eCORMf/csiMatywpTJqGAwBXLXTL6faU=; b=QsZ1OxXLt47jBdvjIeu70jqyCdGeRiBegUX6Lp8eJ76rot0n2RbxVhpEfOSJOkDf+4 5jJoGZNBkeZ7BJO9t6aRItYYdPmqYt7OtMdhXEalD6NWIFSI2ObL5HHcFCnBDQj81wef 0gPi+MxSoIf5hjUMXdfVHGJLNuuL1Fgf14g84BT3Do2QmQnlCm50ATQLMq7EedHXXeiT cQlksWIjs5KTfDRu3Zu98X/MQPL4ytHqFDAu73OKOzeXkAIILNwzhLFw4V5iNIszbqDF Fo6ld+aEqNV7oCxo8tmvSb/MbRUxAeeL/PAMRX2Qk1FxzhlQ8wfCD+h5uOtlmIxORT9w tECA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nWa2KvLa6w+eCORMf/csiMatywpTJqGAwBXLXTL6faU=; b=Ccd6TFcuV936WpU97vIoRvWtsmipTKqSKw3Dy4IcB4yzWSmnC+OJNBuRcnW5Z/yB8Z AfdjPAzn/m5rsMRYlQY8y2pS1uJCnYKumRYgkzh+IfeV2E7ZfwNsHXz1NKNUuu3jRN1n Eh3ETQ6L6GQKdWhGNzLsKwdTlJFpznAgGJKMVGdpTEUdq5DwSViqxbwEi2y0VLkj9b8r HEI+zQpMlqi5ZRXfHkKZX7nBjuHlEpbFUuBN0srWlRze7rK5/XgzczhllRkq00oSV/5/ 2TDEAAoTBsE1qxyzBvNMfmbkaw7lq4wo5knzeKrauXU0Q5d75UAF7ohkA4PzpWcfoMeU C+Lg== X-Gm-Message-State: AOAM533A2AMBbK+jLLQPuksxfTIPkIffAkUAYS7DQ7q29LpXcs+rL/OK o8L6Iat6gAtkrEb88x8L+uFxhJfzP2AzCg== X-Google-Smtp-Source: ABdhPJy9TVPwpGMhq9d+3kYPgmq+ta8aPoej0f7lxhEoyyw6TBgOANvcyIxRaSAcjdXvO1PXWjdJ0A== X-Received: by 2002:a5d:6281:: with SMTP id k1mr15243185wru.369.1626015401170; Sun, 11 Jul 2021 07:56:41 -0700 (PDT) Received: from pepehands.quns.cam.ac.uk (ds815.queens.cam.ac.uk. [131.111.128.28]) by smtp.googlemail.com with ESMTPSA id b16sm11827632wrs.51.2021.07.11.07.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 07:56:40 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 11 Jul 2021 15:55:52 +0100 Message-Id: <20210711145558.20441-21-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210711145558.20441-1-ds815@gmx.com> References: <20210711145558.20441-1-ds815@gmx.com> 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626015486; 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:dkim-signature; bh=nWa2KvLa6w+eCORMf/csiMatywpTJqGAwBXLXTL6faU=; b=o8ReL29dXPVFtZAoNp5Ljgf64bDZwlgOiKTSt/BnYalqcvtvt+9Y7t46QpUceQqgy1UCTB 0aBosN6XheMn7RUfZMaDtces3X4UaDu2k9EBSCCtoqMjN3lsjncA4ZBs71MM08tuEKCOKg eZk99CDKYbkb6lWoO13TFsLwv20AoaPUXJB8/IPaAFrPwvahXCTgmEmX1IEcFxzUwfiJvH GUHS+p0fgOL0ixdeqKhDhFzNyR36yRYDJbYH0gtBqZJ5+OE7xZaXV8x6txeKn8HGS+bzJ0 9+wL6ViK3GGMw3u5X+GLWdXVVb8Y8H6uqSM/QdcLRXyxB1PIW970yPKPFnnjUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626015486; a=rsa-sha256; cv=none; b=NMyTQO12gCWzhxGVNb5+r3ogaPXQ8ki4DhLTvEAoEpSDuZWUOKInJC1djtswWaTIz2wVZc 99/teDavR5CIt6iUcpEtmCIUAkL2pu/92rgTpE/U0MaoCr6VEiJKE6m/EkrSBq5m3WU0oK 9J8Ub6WJWuXiHauZKxeHvYSNjBeISNPCzTnLBBUnLSUzwl0amYuCLLKpgnNmthYblnYK+k WhwmBtrVuvRgFhwqTmg/ZD2Gu/orM/2qKto06kc2hHJR0Vi6EQ9V2j/pxAgXxmsqE+EiS4 em92WRE5lV+Oa+16hy1AXUKf6zSLZnKcyIb0GhtwBoqNx/ydKqlyTFAcI+aBcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QsZ1OxXL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QsZ1OxXL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2306D1C0F X-Spam-Score: 2.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: vCmSTVT6cID0 * gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 84e1ebd906..00cc397ec9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43563,8 +43563,36 @@ escaped text to recover the original string.") algorithm. Includes streaming compression and decompression.") (license license:bsd-3))) +(define-public rust-socket2-0.4 + (package + (name "rust-socket2") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "socket2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy")))) + (build-system cargo-build-system) + (arguments + `(#:rust ,rust-1.52 + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/rust-lang/socket2") + (synopsis "Networking sockets in Rust") + (description + "This package provides utilities for handling networking sockets with a +maximal amount of configuration possible intended.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-socket2-0.3 (package + (inherit rust-socket2-0.4) (name "rust-socket2") (version "0.3.19") (source @@ -43582,14 +43610,7 @@ algorithm. Includes streaming compression and decompression.") ("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://github.com/alexcrichton/socket2-rs") - (synopsis "Networking sockets in Rust") - (description - "This package provides utilities for handling networking sockets with a -maximal amount of configuration possible intended.") - (license (list license:asl2.0 - license:expat)))) + (("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-socks-0.3 (package -- 2.32.0