From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kDIJNEvNTWaTsAAAA41jLg (envelope-from ) for ; Wed, 22 May 2024 12:47:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sEQrMEvNTWYwawEA62LTzQ (envelope-from ) for ; Wed, 22 May 2024 12:47:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b=fmL8qYpS; 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=1716374859; 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=+IZjpA+OHrznKzt1aa2NaQfpcTXwrPtS0bA7QhH0qWI=; b=cfPp8gRaepeInLco/6FlwuLgzXrjCoBgvftb/7hCFNQZVX7+rHW6QiCfr/ywH0SAImzWLD Xu4RvF//Mu2JJq2ULTrcRO6uZo6vwinsSC4I1lv+QcGM22y6NLzrDRKeP0KWSPywU0fhOO uz6oERwhHc3Z1t1TyLj2ED4s1e8mS1uaCrOaH99mp86or2QKViYkST9cow7AtpOA31Q/TG FDVFcz3B+mKJNHfdKCcAOGh7W9qvgDULPCeid+BwvlFJqskyVH+rNQxN3ueOFGC4y2om0J 3NLAJnIy2kNrqEfDRdMaRfNn8SgONa02rNQUTdtUz3vdkBS/Ef7dEq+2PclMkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b=fmL8qYpS; 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=1716374859; a=rsa-sha256; cv=none; b=bX4MRvJQ/6ofv+M3ozCc0sxQgS3lJYfr+33Er54F3yXfnIrjZnFrPryqSarrn9UB6R6rCJ 6Su7acMvYr5Z3cJQCRgXAhf+nDn90eDsyhM87QPrIwRNje0Nb76P8bDPebOZ7uXSOWEe4j p2ZF13sc8SqDNqsbe7g6mQZWqgUy6V+z+Jj/uj7iYnrz+XyJRhp5IrqhS+5gnq63byd964 KcjFFyuQ7TrIN/qcpa+DtXU7Rawki9ycu+uAtvreYNaChhlvTbtSDwUnpI9tsgxqangj0J tK3eocpO4CkEkuINJOV8byWp3eHVJlCtkUqTH0qDBSP9Dxxm8RV//wl4gAfguA== 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 926DF6AF77 for ; Wed, 22 May 2024 12:47:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9imh-00018x-5C; Wed, 22 May 2024 06:01:24 -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 1s9imK-0000oC-6g for guix-patches@gnu.org; Wed, 22 May 2024 06:01:03 -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 1s9imG-0002t9-RI for guix-patches@gnu.org; Wed, 22 May 2024 06:00:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9imM-0000lT-Fn; Wed, 22 May 2024 06:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71110] [PATCH rust-team 31/37] gnu: Add rust-juniper-codegen-0.15, rust-juniper-0.15. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 10:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71110 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71110@debbugs.gnu.org Cc: Nicolas Goaziou , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71110-submit@debbugs.gnu.org id=B71110.17163720532910 (code B ref 71110); Wed, 22 May 2024 10:01:02 +0000 Received: (at 71110) by debbugs.gnu.org; 22 May 2024 10:00:53 +0000 Received: from localhost ([127.0.0.1]:54893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9imD-0000ks-2B for submit@debbugs.gnu.org; Wed, 22 May 2024 06:00:53 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:45066 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9imB-0000km-0Q for 71110@debbugs.gnu.org; Wed, 22 May 2024 06:00:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1716372039; bh=lnZrP9W7PseKjxvOqccrrKKJ3aqjMV5eaiukk6D/8o8=; h=X-EA-Auth:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding; b=fmL8qYpSpwDhyXmGt2RCZWHC/bMH+hSdLCPjUn4PVrZoyDo70EuUhBKunVfkUi1Dm mbkHRti8WdPILoz1xxF7Fewazhn1CscxXNSMcpffoQsXNOPIpywHvKqaryTjXiFspm rqGCVCSUIOgaKxK5tZQcnpj/VgPxDJ5ohVSMfHU8= Received: by b221-5.in.mailobj.net [192.168.90.25] with ESMTP via ip-20.mailobj.net [213.182.54.20] Wed, 22 May 2024 12:00:39 +0200 (CEST) X-EA-Auth: TFhhhovDsvxlIIQM43xlYam2pjPvJ3GSONf8QlIw8v3Kp5Qw4m5vEW9E6aEIvJvUp6kDIIQHCHnm9ffDLFckvSAljmsZqCco9yASsIdWrIs= Date: Wed, 22 May 2024 11:45:49 +0200 Message-ID: <9c515d1757bd2041c6496ea158b962f2bebc86f8.1716370758.git.mail@nicolasgoaziou.fr> 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: , Reply-to: Nicolas Goaziou X-ACL-Warn: , Nicolas Goaziou via Guix-patches From: Nicolas Goaziou 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.36 X-Spam-Score: -6.36 X-Migadu-Queue-Id: 926DF6AF77 X-Migadu-Scanner: mx13.migadu.com X-TUID: sNW4p9Fwi6Ha * gnu/packages/crates-io.scm (rust-juniper-codegen-0.15): New variable. (rust-juniper-0.15): New variable. (rust-juniper-codegen-0.14, rust-juniper-0.14): Inherit from above. Change-Id: I56c57c66e00ef73f8b22a192bf3e09edeff92044 --- gnu/packages/crates-io.scm | 90 ++++++++++++++++++++++++++++++++------ 1 file changed, 76 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dfcd6299d3..85254e0547 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36185,26 +36185,30 @@ (define-public rust-juliex-0.3 concurrency primitives and multiple allocations.") (license (list license:expat license:asl2.0)))) -(define-public rust-juniper-codegen-0.14 +(define-public rust-juniper-codegen-0.15 (package (name "rust-juniper-codegen") - (version "0.14.2") + (version "0.15.9") (source (origin (method url-fetch) (uri (crate-uri "juniper_codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06ym8568k9p75kvnfc4ywqbkzaa4ib6gngx9vpbsjwg9v0sg42nl")))) + (base32 "1nvigsc1yrfv09wx1yv830dd60ay556haz87p80h7m8s0rqpdsdf")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;FIXME: fail due to unresolved import + ;; XXX: Tests fail with "error[E0599]: no variant or associated item + ;; named `__TestExhaustive` found for enum `syn::Type` in the current + ;; scope". + `(#:tests? #false #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-juniper" ,rust-juniper-0.14)))) + (("rust-juniper" ,rust-juniper-0.15)))) (home-page "https://github.com/graphql-rust/juniper") (synopsis "Internal custom derive trait for Juniper GraphQL") (description @@ -36212,32 +36216,63 @@ (define-public rust-juniper-codegen-0.14 GraphQL.") (license license:bsd-2))) -(define-public rust-juniper-0.14 +(define-public rust-juniper-codegen-0.14 (package - (name "rust-juniper") + (inherit rust-juniper-codegen-0.15) + (name "rust-juniper-codegen") (version "0.14.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "juniper_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06ym8568k9p75kvnfc4ywqbkzaa4ib6gngx9vpbsjwg9v0sg42nl")))) + (arguments + `(#:tests? #false ;FIXME: fail due to unresolved import + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-juniper" ,rust-juniper-0.14)))))) + +(define-public rust-juniper-0.15 + (package + (name "rust-juniper") + (version "0.15.12") (source (origin (method url-fetch) (uri (crate-uri "juniper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s56rb31yddhvjynl5bk8jihcdln8h5yfsx63kfxdhzvw98vlqpn")))) + (base32 "1dg1b5msr8k4kwmam2h0f64z7aamk4799vdh3cg55c881idclpc7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bson" ,rust-bson-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.5) ("rust-fnv" ,rust-fnv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-enum" ,rust-futures-enum-0.1) + ("rust-graphql-parser" ,rust-graphql-parser-0.3) ("rust-indexmap" ,rust-indexmap-1) - ("rust-juniper-codegen" ,rust-juniper-codegen-0.14) + ("rust-juniper-codegen" ,rust-juniper-codegen-0.15) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-static-assertions" ,rust-static-assertions-1) ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.7)) + ("rust-uuid" ,rust-uuid-0.8)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-serde-json" ,rust-serde-json-1)))) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/graphql-rust/juniper") (synopsis "GraphQL server library for Rust") (description @@ -36252,6 +36287,33 @@ (define-public rust-juniper-0.14 debugging.") (license license:bsd-2))) +(define-public rust-juniper-0.14 + (package + (inherit rust-juniper-0.15) + (name "rust-juniper") + (version "0.14.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "juniper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s56rb31yddhvjynl5bk8jihcdln8h5yfsx63kfxdhzvw98vlqpn")))) + (arguments + `(#:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-juniper-codegen" ,rust-juniper-codegen-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.7)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-keccak-0.1 (package (name "rust-keccak") -- 2.41.0