From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0Fz+OHt4Tmd7JwAA62LTzQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 03:18:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0Fz+OHt4Tmd7JwAA62LTzQ (envelope-from ) for ; Tue, 03 Dec 2024 04:18:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=lV7q6VE1; dkim=fail ("headers rsa verify failed") header.d=ieee.org header.s=google header.b=EMff4E2U; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733195899; h=from:from:sender:sender:reply-to: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=tGUbgknTLnVL5xWT3rKGbvwpegqlZZ9A9ELTgW0znqs=; b=E3X1OMj4zzoe8QD82BKJDeRLgBQfAtoeshAp6107dWwCj7U2lva4v0XOFazLMtdAw/d7Mt v5ZjLwq65jmJpaC4FAiBb2b2aZZNjGCIktS9o8yeS8ihmHZeHbweo7wKkZOg4+5Qnwnlrl /haq6SWsE4aLqBySjH6XEus5dTvJmMqADvRWrCjnioKZrIsoolYpal+aYBotqMfDM5GOlV hBEnkdEdRTlDyqtSY18LFHDeezmDlIRYEtB9jBANL66mi5hWbm+Fi60tKd4W91fLK9vhJG TSMD9fzjgp6A18bncx37WtvdgsbbqnJLue3mwdaMjYDFbZffDEMH12VXXXh0jQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=lV7q6VE1; dkim=fail ("headers rsa verify failed") header.d=ieee.org header.s=google header.b=EMff4E2U; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733195899; a=rsa-sha256; cv=none; b=GZgQdKAmHaoeaN5Yxbv98As+sMQMsJwnMfw8siSzwBQKw/VoG8JNXktat9FmQ2iykOXy9l KnvlEP7ep7id6JxGnV0ITKiQQRT5fdgSkT50PL7YJj78c4Yqx5LclJxIaXUj+DPCni5J/R ZCrJToexbhOwGOhOvCCiHWGTZT4deg9k8h35lTpEXIiZkrlM6I3KCUTPwLD8vJcCFPvbtq Ahlrp1vkY/Y7Jl9kxUtE/XUH2q61qP6tb5moG7UR9ARdJY+YJlc/Pa8uc5eOGtNCpbmIVK Z1f77bheCIylL3LHLUEsbK7oqoPYKjQ54xYQGMeF8SBxgeZMxM2Uj+nqIM3IMg== 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 BD7C793D29 for ; Tue, 03 Dec 2024 04:18:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIJQK-0001bi-I2; Mon, 02 Dec 2024 22:18:04 -0500 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 1tIJQJ-0001bP-9D for guix-patches@gnu.org; Mon, 02 Dec 2024 22:18:03 -0500 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 1tIJQI-00027q-Pg for guix-patches@gnu.org; Mon, 02 Dec 2024 22:18:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=tGUbgknTLnVL5xWT3rKGbvwpegqlZZ9A9ELTgW0znqs=; b=lV7q6VE1z+8YcasOpQXTsB6B2E6ArbgrCOIMvJGW+xIOq5oNdWyaO5yGpEg+gG66eARHTct7KiUaEFquwmsOTcGB6RtGJUmNCe7rn8xoad4VPJ+ab2uhSa4tLxI0Ey34AJUBiT5w4TNMAfDgejKhQL/XZAtFd5vp7vAisky09OwfJmB400roDxpW4Wtv+f31jdazhMgtuqEJ2hVFEqYBzSZZSqxh1ZV0AbBBQSXCt+M8tdRaPWseZjbdmec1m6mM1INenO1ObLSYOSxn6/hEZ7vGT3Oh6ap0J0ZNNsrrr9+PzDpLoIXqBufmAE6DyR0Kps9Asw/ouIjmgV9xVZj7HA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIJQI-0001M3-GK for guix-patches@gnu.org; Mon, 02 Dec 2024 22:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74551] [PATCH rust-team v3 30/73] gnu: Add rust-auto-enums-0.8. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 03:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74551 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74551@debbugs.gnu.org Cc: Jordan Moore Received: via spool by 74551-submit@debbugs.gnu.org id=B74551.17331958415119 (code B ref 74551); Tue, 03 Dec 2024 03:18:02 +0000 Received: (at 74551) by debbugs.gnu.org; 3 Dec 2024 03:17:21 +0000 Received: from localhost ([127.0.0.1]:57497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIJPZ-0001KQ-8q for submit@debbugs.gnu.org; Mon, 02 Dec 2024 22:17:21 -0500 Received: from mail-qv1-f52.google.com ([209.85.219.52]:45121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIJPX-0001KI-Jr for 74551@debbugs.gnu.org; Mon, 02 Dec 2024 22:17:16 -0500 Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6d89811946eso18793466d6.2 for <74551@debbugs.gnu.org>; Mon, 02 Dec 2024 19:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1733195775; x=1733800575; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tGUbgknTLnVL5xWT3rKGbvwpegqlZZ9A9ELTgW0znqs=; b=EMff4E2UUDRcALA/uFMspGjHayo9a5T/PfLmnIPTc905+w0d3Tksf4lueWlLBH6Apb fr52M30vGgQOZWboJB7Vx57DL047/Pm2DLRmvn4Wto+1uiKEfYAGxeENfRqonCIxrK3z wyCnqtzHsc9NlSzMJPM1xUvq0fuGpzqCI6iao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733195775; x=1733800575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tGUbgknTLnVL5xWT3rKGbvwpegqlZZ9A9ELTgW0znqs=; b=vBDcAVLLUQvPFhUVBPI4Ei4+TUgy1WtzX7adPMlD7C3XcZeu3lHQpT0vj3GhU3jqZ6 /9qjlFxJkmyVWb0bndL3CUcXp8syCynNEh2CwA/O3Ts2oMV6KotqOX2xO0T2SuxuQSCo l/9JiSce9JHzhxl6vHgsMcivkhAWM4q0RZvazNOF8NVizWobAGN3RRu67JumshsPJ0P1 Oh5lupo84NZqb5jwIFAMMrRtfC/aiWqSrqms24sKnNNPHHUVmXmMSh47eiFMY+ZawsA2 Jld/JD4CQkE+92LTaaSkTMHpumkB/B87DJCrHWobh9Y3RKqRQIkcHjBl573uEJdBp6aM +WGw== X-Gm-Message-State: AOJu0Yx0EHPKnm9nrOuoAH34BmzzlNARFf0qS6zQ8bxNoGSq+pZp8NI+ pLzUUcwmNO1l1Fl0MDRYCF0GX8TftDBC8BFqsQl+Dw19sDdonC5pLND3hRcAqKiEzlyqU2XOLhn Xdb+9T97sSFuhcf3Ou2TuBx+zuQMgIGbHdau/8oxy7pfpAeW8vpPsDBqAWFR5iJr+qlSni2Wi9m wRaSSSM0AQKiTf5e06Wd6vzs2+nBnRC4TzlntMAKA= X-Gm-Gg: ASbGnct9tbf71JzgniY6HUV3PLoiiJFZhmSaYRJeJlza60RRZbJsZHXLv8QAfshQI1D HvuwqRIuvO2tTxCtWrOvCqyAZLpS92xKfSCfSSEA1g+K8RSAXVt0psgrg8Gpzntlg9iRU9/jB+G 5ZX1KMwbkInka1xdF81xHuTTD8OxWOSC2Bnct1wRmKOKN0Ze4RXxiOK3ghikzWkIYEEuD7RHe7t JxMxWFMy+QXbZQV6le3A++8aXLco0BhGl31rkt64Ap/LlwfivZLYiDPMlIOS6wd6Ga94+amYU3H buOO+7kY8tGUFUuB+/HMTA8SbAJSjeR9LynWFE90oREipOhfdoQ= X-Google-Smtp-Source: AGHT+IED/inZVLC+Ef3gwZ4g3K26RgK0GdjKbc9FJu5PP3ADXlQmdXyRBw+EDIrrGjfp3lV9PZqHAg== X-Received: by 2002:a05:6214:21e4:b0:6d3:7a47:2034 with SMTP id 6a1803df08f44-6d8b72eeb21mr23397306d6.3.1733195774968; Mon, 02 Dec 2024 19:16:14 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d8b2209244sm9175346d6.69.2024.12.02.19.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 19:16:13 -0800 (PST) Date: Mon, 2 Dec 2024 22:00:10 -0500 Message-ID: <20241203030059.1214554-31-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241203030059.1214554-1-aaron.covrig.us@ieee.org> References: <20241203030059.1214554-1-aaron.covrig.us@ieee.org> 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: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches From: Aaron Covrig via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.55 X-Spam-Score: 0.55 X-Migadu-Queue-Id: BD7C793D29 X-TUID: rTHd52mQyNVM From: Jordan Moore * gnu/packages/crates-io.scm (rust-auto-enums-0.8): New variable. --- gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f443857a69..6d42a0e604 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6487,6 +6487,65 @@ (define-public rust-auto-impl-0.5 "Automatically implement traits for common smart pointers and closures.") (license (list license:expat license:asl2.0)))) +(define-public rust-auto-enums-0.8 + (package + (name "rust-auto-enums") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "auto_enums" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yxcdw961199wrk1v5js321ynyfd4m40c0gi2pypby2mx2vpg6s5")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml" + (("\\[features\\]" all) + (string-append "[dev-dependencies]" "\n" + "macrotest = \"1\"" "\n" + "trybuild = \"1\"" "\n" + "\n" + all))))))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-derive-utils" ,rust-derive-utils-0.14) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-body" ,rust-http-body-1) + ("rust-macrotest" ,rust-macrotest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio" ,rust-tokio-0.3) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-test-flags '(list "--" + ;; Skipping broken tests + "--skip=src/lib.rs - (line 547)" + "--skip=src/lib.rs - (line 672)" + "--skip=src/lib.rs - (line 755)" + "--skip=src/lib.rs - (line 818)" + "--skip=src/lib.rs - _README (line 1073)") + #:phases #~(modify-phases %standard-phases + ;; Tests depend on nightly/dev features + (add-before 'check 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1")))))) + (home-page "https://github.com/taiki-e/auto_enums") + (synopsis + "Library to allow multiple return types by automatically generated enum") + (description + "This package provides a library to allow multiple return types by +automatically generated enum.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-auto-impl-0.4 (package (inherit rust-auto-impl-0.5) -- 2.47.0