From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SK8RMzrVK2dBTQAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:44:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SK8RMzrVK2dBTQAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 21:44:42 +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=aN4mbAyz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=puGS8S39; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730925882; a=rsa-sha256; cv=none; b=O3XhuSJWAqnOIpgHhBREzxExY9By83BjMpiXjXE1fqR5G+flXXic1PijBf8BMhVQuMc/nu g9fNCoTzVGDJmqLZiVjNQ9fRxgg9arKKV0SLoygsui8FpevVMeFGZZaoy+AftgSK83B11v dww2oVRZcW4HHrXEDU/9kqk3P05ZLm5Ur+d1UiQOIZoNndrxSiLwLh7GlAsaFcV1SbgkaA E0hUSK5Joesxe5GHONgSG8DdXTj8/oUXW9F0WDMpTTmewts1pLP/QYw23BRGoVMPim+K2H jN0Fu5ZR1SvsKIjsBw6pBrCLfEW04xtc99OGjaJjDDKUHp8Jvta4yAfkmAKZxg== 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=aN4mbAyz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=puGS8S39; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730925882; 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=2f7gfA0JYHKQE0oRzH+SNqz75aBvLCi5oqzOt7ReqAw=; b=bWmNbVhEoZv4ApaHn9/+AySG8EtFE7sDOXPqCZhyOciOo/5c4moJl98FtqUOYat3DHPL4g RRvLNiQxhX4vilOTMFXS7XGRoUc0yILyRQWc5kXw6nhZVdU1AGoOzmqBJMMQsiAnmZ5wXm 69KEeMvQnu2QXAS43mFemyLCwTVlyJXf9oOj4reAqE2KpR4TN56yuC4Tis0Ib33cbwjoiz lkz7UGyaiwrbZdwqKrKXQGmOPzfRs69EglLYqyWQE8Ge3Uuyb2kWeMiU0Z0dawX4oIeNCr xnJbcez/jC1KWlH8UZcQxriuIrt3QILHbrmrc4SHCHlSAq4RInN9ADgS1JR8kw== 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 9713A83E87 for ; Wed, 06 Nov 2024 21:44:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mt8-0001aH-QE; Wed, 06 Nov 2024 15:44:26 -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 1t8msx-0001Rt-1T for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:15 -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 1t8msw-0001LC-PE for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:14 -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=2f7gfA0JYHKQE0oRzH+SNqz75aBvLCi5oqzOt7ReqAw=; b=aN4mbAyzsyGCQSNNIU0Y5fhRr3RWkc1Dy5pKD7YnHFNnz35QyfHD5vKfbsRvImmQbIqnwbodoMDzYdtjHdfMJOcHZgNVW+EfR1eQpeY5Lg98/jnsKVIHppEK9S3hu+6AR1mDT3p4+h47pwJsktvR+ubKdT/mK49R+FXhn/5MjvAPicg6ZYdFOKAokYkJlkAiPwcmHoFIOeBKxVe28rHAMOc8Ao207WQwMERNhB5fAiHZKjHCs5wf6MJPZx87JLayd1WrRrZR/DO9wMbLMB4/S/wgVD/tZdWyMRzgFp+GCfqLx0C9gZ1HY+54VqWjuxmdUkUlSEzZf2grl1auaoa/aA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8msw-0003Xj-Ix; Wed, 06 Nov 2024 15:44:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 18/25] gnu: Add rust-zvariant-4. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:44:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74232@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74232-submit@debbugs.gnu.org id=B74232.173092585313589 (code B ref 74232); Wed, 06 Nov 2024 20:44:14 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:44:13 +0000 Received: from localhost ([127.0.0.1]:45881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msu-0003Ws-Fa for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:44:13 -0500 Received: from confino.investici.org ([93.190.126.19]:26537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msi-0003Sv-DD for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:44:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925831; bh=2f7gfA0JYHKQE0oRzH+SNqz75aBvLCi5oqzOt7ReqAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=puGS8S39iICTfG5pQAvckrVTQq8meBZMPIx+89U8gWcJx7K+Dh/rI6Q5fYN6qy5Xl 1o3/P22BAZqYb4qwd41XgY+hOqUF8Q38txaq1CuJrYcOCK/kt59IRCTsMioQcC+Hag RsZHrmr4/esiPAXDVQ4CTIeTaGwnqPmyj0HDfLs8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHHC1dRgz10vZ; Wed, 6 Nov 2024 20:43:51 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHHB6HVCz10t7; Wed, 6 Nov 2024 20:43:50 +0000 (UTC) Date: Wed, 6 Nov 2024 21:43:04 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> References: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi 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-Spam-Score: -2.89 X-Spam-Score: -2.89 X-Migadu-Queue-Id: 9713A83E87 X-Migadu-Scanner: mx10.migadu.com X-TUID: siy3fGXcBq7E * gnu/packages/crates-io.scm (rust-zvariant-4): New variable; (rust-zvariant-3): inherit from rust-zvariant-4. Change-Id: I49410d45a5fb4878054f64fba7059d21688019f8 --- gnu/packages/crates-io.scm | 61 +++++++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 74cc7ff8eb..a3cfe55325 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -95484,8 +95484,58 @@ (define-public rust-zune-inflate-0.2 in Pure Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-zvariant-4 + (package + (name "rust-zvariant") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zvariant" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zl1ika7zd9bxkd0bqc78h9bykvk6xc98965iz1p3i51p452k110")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + ;; Patch enumflags2 version + (("0\\.7\\.9") "0.7.7") + ;; Patch serde_repr version + (("0\\.1\\.19") "0.1.18")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; overflow evaluating the requirement `PhantomData>: + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-endi" ,rust-endi-1) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-heapless" ,rust-heapless-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1.8) + ("rust-zvariant-derive" ,rust-zvariant-derive-4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-glib" ,rust-glib-0.20) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1)))) + (native-inputs + (list pkg-config)) + (inputs + (list glib)) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "D-Bus & GVariant encoding & decoding") + (description "D-Bus & GVariant encoding & decoding") + (license license:expat))) + (define-public rust-zvariant-3 (package + (inherit rust-zvariant-4) (name "rust-zvariant") (version "3.15.0") (source (origin @@ -95495,7 +95545,6 @@ (define-public rust-zvariant-3 (sha256 (base32 "131kaczf10psc8clzlndcc52dym5vi4g22kqf0qwaq6rw2z93cj4")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; overflow evaluating the requirement `PhantomData>: #:cargo-inputs @@ -95516,15 +95565,7 @@ (define-public rust-zvariant-3 ("rust-glib" ,rust-glib-0.17) ("rust-rand" ,rust-rand-0.8) ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-repr" ,rust-serde-repr-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "D-Bus & GVariant encoding & decoding") - (description "D-Bus & GVariant encoding & decoding") - (license license:expat))) + ("rust-serde-repr" ,rust-serde-repr-0.1)))))) (define-public rust-zvariant-2 (package -- 2.46.0