From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4BVeMxyH0mVDcQAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 23:39:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4BVeMxyH0mVDcQAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 23:39:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=AiyzYMqE; 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=1708295964; 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=b8MPP/Un4Ck3QsveHbfSr9oZvdXFb5+2gapyocu0QJI=; b=mQqTRDc4jwKrKSwZMExZWGTI9KQiBxJ0j2A3ToMRDZxi6IlFZcVlp8YnpcFSQBYmkC2L2V DfDECe/J5BA6M/N8JR2IMQ9cjbf3AYNZCAXMtOoxWKxZ7/iuIajAPlSN6HORiRQPonUJaz uBSaBOYIgU0NfU8x8Ige22mAiKJcHLzI71X9FgxhOZjftdVVixXeRLN4B43F2+/HOtNShy jvQRNflqxdNDffS9nex8Hs2npBhVlR4dKQONypqkX+5Tl8uIz+cMvhHb5985H4edJDFrVK 8Sk2A0oLY1d6hP1074zzzxYoDuxz1jZXLa5X5/KnULd+3+TLK7gRu/RrkUhGmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=AiyzYMqE; 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=1708295964; a=rsa-sha256; cv=none; b=OOFyVpl4O+ru/emv5tZ3No/ZYOtUetrzrPCvObJoYe2wBE+C0QFwalYsVgo+rN4T18FBDM Hauw1cv9BEai/H+wKdwqV6pMTVQoJdd4wJkkDnBvPSQZUQyfmavK3q9EADjjlDZ+MJGkFx U6O+XlKRfMDF8809E7wXgxDLOGlgDYP8Y4TFv15T5JwNCcSBXz7IZ1dzFDxFhVMVj8Dnr4 cLSLkg89fstnLn9A789dDuc5prSYhb7gRjab29oDuMCoT0ENKW269CsXnlcRABuzvTba44 oCs3V9vZHjVdhSslXFmsiLzYbfb4NRe8h9y3o6RKIu7yRaBNgFEkq27Cr1aRAA== 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 BE8342692F for ; Sun, 18 Feb 2024 23:39:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rboRs-0006PC-4i; Sun, 18 Feb 2024 16:11:44 -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 1rboRq-0006Nj-7s for guix-patches@gnu.org; Sun, 18 Feb 2024 16:11:42 -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 1rboRp-0007Cq-W6 for guix-patches@gnu.org; Sun, 18 Feb 2024 16:11:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rboSA-0003M9-La; Sun, 18 Feb 2024 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 102/228] gnu: Add rust-opentelemetry-proto-0.4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829067712499 (code B ref 69257); Sun, 18 Feb 2024 21:12:02 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:11:17 +0000 Received: from localhost ([127.0.0.1]:38924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRQ-0003FR-SX for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:17 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43013 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRP-0003Ez-4o for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8MPP/Un4Ck3QsveHbfSr9oZvdXFb5+2gapyocu0QJI=; b=AiyzYMqE5pFVVSNWytd+cYPEsqAkpP1++3zMaxNDkKMAuRkfO5uGl4g0v1ej21B2PiU7Me AONlei/TM8EEmNI/fRlE3HhpbAsKLB9R1Vrxpxf2h9lvAHDYUL93+tlRUOKpjxOeQinOre mMHE7j0Fao9iuZsIqOROOto9hCFxwbTnNlXaAaXz9DEVE8gKcEPLTIuY5RH33wrQ+V2aIA fCmN05GieZU0y+LXB9f2eBbmwgJW3DDW7JuDXmKasmlEBgWiDLmVtejQzsipVF9BGeZIUW wB8YdBENLZtQ8hE5O2n+8NqFcuTulMQ418QIS1qf643xhoLae9PmqoKFH8hD2Q== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1d64be73 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:10:47 +0000 (UTC) Date: Sun, 18 Feb 2024 22:07:52 +0100 Message-ID: <71ac388f503e33085966ce53ea4f405833a4d784.1708288186.git.herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm 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: mx12.migadu.com X-Migadu-Spam-Score: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: BE8342692F X-TUID: 7+CADtmxnfi6 * gnu/packages/crates-io.scm (rust-opentelemetry-proto-0.4): Add variable. (define-module): Use (gnu packages protobuf) module. Change-Id: I36ecba2dde7f01d592aa2d1481e63e17b92deae0 --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d38540df2a..c78cde3ffa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44434,6 +44434,46 @@ (define-public rust-opentelemetry-jaeger-0.20 @code{OpenTelemetry}.") (license license:asl2.0))) +(define-public rust-opentelemetry-proto-0.4 + (package + (name "rust-opentelemetry-proto") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "opentelemetry-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qblsq0hkksdw3k60bc8yi5xwlynmqwibggz3lyyl4n8bk75bqd2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-grpcio" ,rust-grpcio-0.12) + ("rust-opentelemetry" ,rust-opentelemetry-0.21) + ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21) + ("rust-prost" ,rust-prost-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-tonic" ,rust-tonic-0.9)) + #:cargo-development-inputs + (("rust-grpcio-compiler" ,rust-grpcio-compiler-0.12) + ("rust-prost-build" ,rust-prost-build-0.11) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tonic-build" ,rust-tonic-build-0.9)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-protoc-path + (lambda* (#:key inputs #:allow-other-keys) + (let* ((protobuf (assoc-ref inputs "protobuf")) + (protoc (string-append protobuf "/bin/protoc"))) + (setenv "PROTOC" protoc))))))) + (native-inputs (list protobuf)) + (home-page (string-append "https://github.com/open-telemetry/opentele" + "metry-rust/tree/main/opentelemetry-proto")) + (synopsis "Protobuf generated files and transformations") + (description "This package provides Protobuf generated files and +transformations.") + (license license:asl2.0))) + (define-public rust-opentelemetry-sdk-0.21 (package (name "rust-opentelemetry-sdk") -- 2.41.0