From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UMybGmtdm2XyOwEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 03:26:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0KeLFWtdm2W6qwAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 03:26:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Bbv6aJqO; 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=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704680811; 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=agZL06wKUPmCUPVEKRribjMEZ/g7LKWMixw4vGvI7Iw=; b=KgzzOHXY67P6ohV38+jfRCgDS5y6XRCQL0LaOt9C0UYqaRB4AABEUnawE5yZMQJ56tcmMQ QFAaYgkUfKSsbs9HXwM0JQYdG+miLjcs3zdMZhKyIVLkkDlMmXrZGquDKGZe4R+xzQdDGr Gaib1KdliTWKxe6cJOF2mRI1jvz3eU0p7Y5wxHVV5xihowllqeH4Gb9iHrvbe0+3o829TF cxhY0r5rCHjMn++1KucZlRHch0aOtSeGfj0jkBM82LJb8LKh5RdsjYygyD8WGGGWN4RfcV XufEBuZlrpzFC/9MQlhwXAXms5MA3hn+cTsrl7Az6ie7GGZ32rbL/tF1CKX+FA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704680811; a=rsa-sha256; cv=none; b=ZOnyTQpB9HIwujfNkjBlDFiauKIJPbpo6LPZ6j6OUUXoBcc3vR4GX5CX2wmWjoQwoACOTA cSmdbifLDYwN+nMEdNXWZcflt4qRgWTW5PsHcddtKQHMXMpgDkBGVZtyCnDLhQvsOWI7r9 SnYrhSZnCCay/8YkBHoFHV/pb/Fe/KHE8wz935qB02STdg4slZQI69eDlCeH/4ZHx9hGbS dUFJNcH6kBNgPj3c8xFNYpf75CbxsAjFXbMsKMfMmpLZEI3lCHhXsRB6xdJh4e7gsk12yx O8azeu6sJYos31W31fPg9jzLcemrprw+E57TfrOYO3y5PkhlqFKxMyf7dQ/2Fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Bbv6aJqO; 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=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) 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 37611153D9 for ; Mon, 8 Jan 2024 03:26:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMes3-0006hy-Fi; Sun, 07 Jan 2024 20:56:07 -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 1rMes2-0006gY-27 for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:06 -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 1rMes1-0004Np-QK for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMes7-0000C6-Ml for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 045/156] gnu: Add rust-diesel-derives-2. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:56:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.170467894132616 (code B ref 68312); Mon, 08 Jan 2024 01:56:11 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:55:41 +0000 Received: from localhost ([127.0.0.1]:34322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerd-0008Tt-D1 for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:41 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:48664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMequ-0008DY-Eu for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:54:59 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678884; bh=agZL06wKUPmCUPVEKRribjMEZ/g7LKWMixw4vGvI7Iw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Bbv6aJqO98Pg0nY5QASB/r2hSi/xrLW3Xk5QfCwpgX58zhOBDD4TLLmtVURtCREvU oQD/BeptJhFhW/+Orj+Xf4KJktqRm4tyE//2mp0bI1NOX3QITw3v2k0SFHaRNeuH+6 bj9Wq1Wd9t3YSoVlcz1emRWSYD+CcacfzIVqauyk= Date: Mon, 8 Jan 2024 02:52:22 +0100 Message-ID: <178e6e9074f4b99dc38fc72f45a13f23d3c8adb4.1704675823.git.w@wmeyer.eu> 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-Spam-Score: -3.69 X-Spam-Score: -3.69 X-Migadu-Queue-Id: 37611153D9 X-Migadu-Scanner: mx11.migadu.com X-TUID: +hq/Cxu9seg2 * gnu/packages/crates-io.scm (rust-diesel-derives-2): New variable. (rust-diesel-derives-1): Inherit from rust-diesel-derives-2. Change-Id: Ia7112f2589657fda1731208b04859d49bb519852 --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2cab9822ebb..b837611d3a0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21225,14 +21225,39 @@ (define-public rust-diesel-1 ("rust-tempdir" ,rust-tempdir-0.3)))) (native-inputs (list sqlite)))) +(define-public rust-diesel-derives-2 + (package + (name "rust-diesel-derives") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_derives" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i1bzp6rxnrrlgz1y946ap3203vjvack9a05h135mxblfmrkg0zg")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find type `SqliteConnection` in this scope + #:cargo-test-flags + '("--release" + "--features" "sqlite" + "--" + "--skip=expression::count::count") + #:cargo-inputs (("rust-diesel-table-macro-syntax" ,rust-diesel-table-macro-syntax-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://diesel.rs") - (synopsis "Safe, extensible ORM and Query Builder") - (description "This package provides a safe, extensible ORM and Query -Builder for PostgreSQL, SQLite, and MySQL.") + (synopsis "Crate internal to Diesel") + (description "You should not use this crate directly, it is internal to +Diesel.") (license (list license:expat license:asl2.0)))) + (define-public rust-diesel-derives-1 (package + (inherit rust-diesel-derives-2) (name "rust-diesel-derives") (version "1.4.1") (source @@ -21243,7 +21268,6 @@ (define-public rust-diesel-derives-1 (sha256 (base32 "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; cannot find type `SqliteConnection` in this scope #:cargo-test-flags @@ -21259,12 +21283,7 @@ (define-public rust-diesel-derives-1 (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-diesel" ,rust-diesel-1) ("rust-dotenv" ,rust-dotenv-0.10)))) - (native-inputs (list sqlite)) - (home-page "https://diesel.rs") - (synopsis "Crate internal to Diesel") - (description "You should not use this crate directly, it is internal to -Diesel.") - (license (list license:expat license:asl2.0)))) + (native-inputs (list sqlite)))) (define-public rust-diesel-migrations-1 (package -- 2.41.0