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 ms1.migadu.com with LMTPS id SDDKMLGcLmYjqwAAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Apr 2024 21:00:01 +0200 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 SDDKMLGcLmYjqwAAqHPOHw (envelope-from ) for ; Sun, 28 Apr 2024 21:00:01 +0200 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="I/V7v6ZM"; 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=1714330801; a=rsa-sha256; cv=none; b=FeVPws/zvdMm188iBvNLzs5RInt7Ms2/L+Yr3PlndZygXZmOHRnG4E2mQXE/2IxNL5FSUB Z/Z9TTJWe+LG9ZE3aJ1dBouqZT0v4xym4r7OqlnWQ7KYVJ4TC03l92BYHPhINBHeqqVKAJ 0lil1tbNNnB4Nn8U2n6vVy9fiv2i+XbQj7BrHpb4hmgklH7FzyBqi+G/a6TgdvMgBhcnV9 xWM4yn1EoqgQGZlWwQ8gHnmUJ3FHcrIOxICLndEvYswzk30O3d9DVKJVRrYXR+8RxgTvHu ocPSK0sDylsvjfyuKpbIeHcOq7Z+RI11+MmVN8BOsMhadiyGC7kK09WPz66Tlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="I/V7v6ZM"; 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=1714330801; 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=zyJ0SI/0PxkE2On3RMvufqrfjDUHD8OnZfWrKa3kp4Q=; b=qKfdF1VthkgxsxA8RbNOQxMlVtnEXtWWzbvK99BeIhDnu9o1pGvbHIStAAaODZY7WRSjvi WBPjAwqcpngZkeMVk+neXyG1gG63bEENecc1pmC9jkwud7zWNIxWgE0KGENaZ+PHwraXHv Dw0BnExmcg9dBVQ2Xv0Y+M4OIVhKtcutRrLZnMd9D3tGq5usnns1vmn8i0lZw5drmak6KY eCDtswQJ4z4jzoNe8/9XZEw3QXaLjggr/XPh3ehyROIDA6c+Hiv6BnLYqzXhhvrDSmTK9s zBJqiXaAi3jOK7el6Idzr0U4pLD+kAPINbgEncTHYg1g/qgd4NYVka+nJl/H9Q== 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 B38E31B0B9 for ; Sun, 28 Apr 2024 21:00:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s19jY-0002aI-Pm; Sun, 28 Apr 2024 14:58:44 -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 1s19jW-0002XH-EQ for guix-patches@gnu.org; Sun, 28 Apr 2024 14:58:42 -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 1s19jW-0006aB-5L for guix-patches@gnu.org; Sun, 28 Apr 2024 14:58:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s19jp-0005pn-L6; Sun, 28 Apr 2024 14:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v2 012/117] gnu: Add rust-grpcio-sys-0.12. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 28 Apr 2024 18:59:01 +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: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171433069722124 (code B ref 69257); Sun, 28 Apr 2024 18:59:01 +0000 Received: (at 69257) by debbugs.gnu.org; 28 Apr 2024 18:58:17 +0000 Received: from localhost ([127.0.0.1]:51882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s19j7-0005kl-5o for submit@debbugs.gnu.org; Sun, 28 Apr 2024 14:58:17 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:36631 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s19iR-0005dv-Sj for 69257@debbugs.gnu.org; Sun, 28 Apr 2024 14:57:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714330625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zyJ0SI/0PxkE2On3RMvufqrfjDUHD8OnZfWrKa3kp4Q=; b=I/V7v6ZMYaLmxeZGZpQEIq6mZ6ir7wsSfmZEgJFizftcRCec+CM0M6B1CDJkDHxbfZ1DEG 4iiUiidwhtTOU+w+pvVJ79GGCInq7nRjcbfFqWuFZWNwKgKOz+Y8wLCry4IUncQrrkjYbi uvPrKhDPCg3V7xghHvfQAqh79J2T7LMOPiA+w0/gCFS+hPe8s0uPTciyBfl/6KK4HxwwUy jBeqrOOXYwmKyrVgMRkMh/j/jY2G32t2a1pZVnSIOjv1du4D+xhR8ggQ6BmeaOhVXmJ92n aOQJXPH+FfySWHlZxsDjYMpi9Qld79CxnBo1oLPGWwBeWZRFnQJZ4P/gq1d8rw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 91a55531 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sun, 28 Apr 2024 18:57:05 +0000 (UTC) Date: Sun, 28 Apr 2024 20:54:38 +0200 Message-ID: <84eb736234ed24a781ad08db42547e6366c01f8e.1714330021.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-Queue-Id: B38E31B0B9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-TUID: /0wNmpW8u9fW * gnu/packages/crates-io.scm (rust-grpcio-sys-0.12): Add variable. Change-Id: I63484c21aca89aa348eb160fcae41676a87c5564 --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a2ffce5820..faea57c6f7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70,6 +70,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages admin) + #:use-module (gnu packages adns) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) @@ -110,6 +111,8 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages regex) + #:use-module (gnu packages rpc) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) #:use-module (gnu packages selinux) @@ -30703,6 +30706,47 @@ (define-public rust-grpcio-compiler-0.12 "This package provides a @code{gRPC} compiler for grpcio.") (license license:asl2.0))) +(define-public rust-grpcio-sys-0.12 + (package + (name "rust-grpcio-sys") + (version "0.12.1+1.46.5-patched") + (source + (origin + (method url-fetch) + (uri (crate-uri "grpcio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qpcvarqzwd2lz43z02wxx6rkd3zhk7dm3a2y01l5x5n0cc5sqng")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml.orig" + (("boringssl(-src)? = .*") "") + ;; Do not use static zlib. + ((", \"static\"") "")) + (copy-file "Cargo.toml.orig" "Cargo.toml"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--features" "openssl") ; Required to build. + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.59) + ("rust-cc" ,rust-cc-1) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-walkdir" ,rust-walkdir-2)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'use-pkg-config + (lambda _ (setenv "GRPCIO_SYS_USE_PKG_CONFIG" "1")))))) + (inputs (list abseil-cpp c-ares grpc-for-python-grpcio openssl re2 zlib)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/tikv/grpc-rs") + (synopsis "FFI bindings to gRPC C core library") + (description "This package provides FFI bindings to the @code{gRPC} +C core library.") + (license license:asl2.0))) + (define-public rust-gumdrop-0.8 (package (name "rust-gumdrop") -- 2.41.0