From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /JGTGeTSt1/qZwAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 14:29:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yF82FeTSt18nDAAAB5/wlQ (envelope-from ) for ; Fri, 20 Nov 2020 14:29:56 +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 19A2B9404E7 for ; Fri, 20 Nov 2020 14:29:56 +0000 (UTC) Received: from localhost ([::1]:39272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg7QA-0001Wt-WC for larch@yhetil.org; Fri, 20 Nov 2020 09:29:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg7PN-00010j-W9 for guix-patches@gnu.org; Fri, 20 Nov 2020 09:29:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kg7PN-0007mB-MB for guix-patches@gnu.org; Fri, 20 Nov 2020 09:29:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kg7PN-0006yh-IL for guix-patches@gnu.org; Fri, 20 Nov 2020 09:29:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Nov 2020 14:29:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44762 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44762@debbugs.gnu.org Cc: Joseph LaFreniere Received: via spool by 44762-submit@debbugs.gnu.org id=B44762.160588249826515 (code B ref 44762); Fri, 20 Nov 2020 14:29:05 +0000 Received: (at 44762) by debbugs.gnu.org; 20 Nov 2020 14:28:18 +0000 Received: from localhost ([127.0.0.1]:42412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg7Ob-0006tV-Jz for submit@debbugs.gnu.org; Fri, 20 Nov 2020 09:28:18 -0500 Received: from mx.kolabnow.com ([95.128.36.41]:52286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg7OX-0006si-TR for 44762@debbugs.gnu.org; Fri, 20 Nov 2020 09:28:14 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 73194EF5 for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:28:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1605882488; x=1607696889; bh=w8KbkXG7BAIcTbKu8+v5oYb8mgOeW56efVC3b8C3kP0=; b=3bsPCOVBy31E RN5gYTnr4rhxszGNLAtBhsylThlGGG35D8aQYgXkx4/FqhmqlZJevS1bO59qnEJw XEji6nBXHeCtGI5zSnGhZJm6kufj7HeoHDYWmWB9zrtwibbm6dimTPQHAZ3j9NLR KNMi1O5ezPTWnwgadkNzZYGIvoI+dZJsPoDuf+Vs7freXM2vcQLz+Uh0zqnjZQZV bSs7eFqr9NS0d6M7XTFw6LpmW0xfXk07j1CczgvS1eaQsqBxENCdBvfzkYciEM+D adTEEoa/uhl76MuS3VJ+H7jqIh7u2P3y8FnBic8g/+jnnRkHkBMwFL+nhh/qFrDb pfGfXMOknw/58s3W871HoHwHrTxm4eAYcqgjfh7QZ/UfhCilQxBtMAC8o6HUVilj s+dNYP3qRREb4PHcPQEDDHFZ0Sq4AdtYJ2FgSQkcL5YY8MHihZmPvrjn1+8194LB 4bFkVKiC5wD8+9YlFdemh1qDpgkK7uHaTGIei1xth2THxIljNEG2Dvq0eiBBXVEy suNHb9DqAdWnxCF1+Xo8E1XwEeMuBXRDcGQt4+BwtuN6GmhGB0fRGIpmGMdWpUoN fxHsqg3/fThsNj2nbAUCNliz6LlkiZvh1DkRH+IDPt/DOWdc6RTzi2lSjUDHuQmz gy/MvDeJCFvMYSKbeAo8+RI3P16wzMQ= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.9 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id thHQw_M7XAWB for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:28:08 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id DC1ABA6D for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:28:07 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 91781121E; Fri, 20 Nov 2020 15:28:07 +0100 (CET) From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:53 -0600 Message-Id: <20201120142716.41949-14-joseph@lafreniere.xyz> In-Reply-To: <20201120142716.41949-1-joseph@lafreniere.xyz> References: <20201120142716.41949-1-joseph@lafreniere.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.5 (/) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=3bsPCOVB; dmarc=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-Spam-Score: 4.99 X-TUID: lS8lrWg5d8ae * gnu/packages/crates-io.scm (rust-cfg-if-1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a9dacc163d..df475a2469 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3688,6 +3688,32 @@ archive to be linked into Rustcode.") (string-append clang "/lib"))) #t))))))) +(define-public rust-cfg-if-1 + (package + (name "rust-cfg-if") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cfg-if" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1za0vb97n4brpzpv8lsbnzmq5r8f2b0cpqqr0sy8h5bn751xxwds")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/alexcrichton/cfg-if") + (synopsis "Define an item depending on parameters") + (description "This package provides a macro to ergonomically define an +item depending on a large number of @code{#[cfg]} parameters. Structured like +an @code{if-else} chain, the first matching branch is the item that gets +emitted.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cfg-if-0.1 (package (name "rust-cfg-if") -- 2.29.1