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 ms8.migadu.com with LMTPS id APMtERN262XqIwEAqHPOHw:P1 (envelope-from ) for ; Fri, 08 Mar 2024 21:33:23 +0100 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 APMtERN262XqIwEAqHPOHw (envelope-from ) for ; Fri, 08 Mar 2024 21:33:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Uw4cdQAh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1709930003; a=rsa-sha256; cv=none; b=fZ1/2PqxDXb8x7mOYx2YKc+sCCMnG7lT4k1g04cLd4bN9OSbhNXnN5pyzkKf6OdFBGH5nJ JVe3xUUExRjA+pDzhB+7LfXpOEu6QRB0LqAFeaVvDQ62u+8OKMmemUTh0HCaZKTwnikFLx MgXgJmr2PbsxLhag9IpWSNsraOFT6LRNxaZviZ0vtfFch7m6pfL0OjeiSK84FravsUXPuj 0dC9bqc2o0JE9ElJatQVqXNVo7g7CFNaAPa9wibAKJVMm0JNj7VUK0rOheDwsiYy8rO9Dn XydSQAQ69QhKbKEwHih5eIwvAC3Yh5bUtz2j0kKjtkdO+VQ5Q7DXzA2IQGSA3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Uw4cdQAh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1709930003; 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=84iXmy94fdY7RGSmzx2h7HTzAz3CFX8kBGaHiomYZJ8=; b=XPYtK83RlfVVuC8Q10dTDeiN/RMwhfgLNYKhzdSyKcSs8frWz5cOAQugCi0ZNAonFJgodv U+RAJ71gXwyRCxB4bO5E7Nj4s5B1yYlSeXYkFTCT5aQksfya/ql6FeXY42iiq/mw7JI1Rv 9cGtmQlDBuM4lXyH7JRiXSLLNcTjJf13IrzfumoQ6XYQKu77mbwwojrAqqXr1TA1kYkARf ymtG4r8BS4ZUsA2jMb6c4DSO5F2yEbbpzCGOEuKrTVNuOUoUnNaXogVutIgkGhSYVtAmlo LpMwUteGDJwc51cCjdjNH9VsT7sPR+jNOzizheiXzHtj8eYyTtGjG4T+oWiz4g== 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 098E9CE3C for ; Fri, 8 Mar 2024 21:33:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rigtm-0007je-NY; Fri, 08 Mar 2024 15:32:58 -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 1rigtL-0007YO-Hs for guix-patches@gnu.org; Fri, 08 Mar 2024 15:32:37 -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 1rigtL-0004l7-5B for guix-patches@gnu.org; Fri, 08 Mar 2024 15:32:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rigtr-00039i-Aj; Fri, 08 Mar 2024 15:33:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69637] [PATCH mesa-updates 5/6] gnu: Add rust-bindgen-cli-0.69. Resent-From: aurtzy Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 08 Mar 2024 20:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69637@debbugs.gnu.org Cc: aurtzy , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69637-submit@debbugs.gnu.org id=B69637.170992994212030 (code B ref 69637); Fri, 08 Mar 2024 20:33:03 +0000 Received: (at 69637) by debbugs.gnu.org; 8 Mar 2024 20:32:22 +0000 Received: from localhost ([127.0.0.1]:59715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rigtB-00037x-Iu for submit@debbugs.gnu.org; Fri, 08 Mar 2024 15:32:21 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:42108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rigt9-00037c-JM for 69637@debbugs.gnu.org; Fri, 08 Mar 2024 15:32:20 -0500 Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-788455430easo192169585a.0 for <69637@debbugs.gnu.org>; Fri, 08 Mar 2024 12:31:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709929841; x=1710534641; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=84iXmy94fdY7RGSmzx2h7HTzAz3CFX8kBGaHiomYZJ8=; b=Uw4cdQAhZdG5MplFBFMX+10D9/RarYAOeT+t5PMKPUYmFEs9Nb/S/84Ix0cyLEt19K XlyVif80r8CyZeawcQ0E+9VAoccDbiVk/woV6U7GZqjogfbynpLgdD/jaF3Uz3U545ND GhAzDGtpMUM4uQ7Mnj1DubwLoTM3AcAAL6ku6kB8nTHy9IjRuyYMHOXbgYJm87uod0s/ uYWmPQYKV2oHFqx/LpN/EtlkMCl9HV0Gmr5gFJadp/Qv38PkaX56iNHxNwSxsnyUicOD n6bITQwSO8KcTTqxnuSsiwu5ytydvv/EM8OrhgHUi3Lu6j/bRc76eAcRyaQfxQm0em/C ZCrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709929841; x=1710534641; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=84iXmy94fdY7RGSmzx2h7HTzAz3CFX8kBGaHiomYZJ8=; b=lZNPz0iwL/P7lA8qYTi0Zeg+7hbBs5yqYR0lgwEZP5eMHMSK7Ka/QqI5hUnvkil4vU D5lFxTzBMEV2rtv+FrQxlL9UWSqFcherCOW08HtnfI+ZKlx4cuZ4buOpOSCbMSb2sO88 c3jt6qPGwE0D9Mc8co8pJ6TAv21jSXkIBO6f9Hx4gI8VA6i8GlBxW/M0xFXvqlGS7cWT IFMd80+7gXIr6LEEHJSHgAzGb2vP4n7WtGcNF/BwywHF3Eb8Za7/OMqAL1jH8JQ+eeSI UV91DK0oFPGEB5ZXeDbJ+EhB0npxEBeaUKMJnN7K31yJ0lLAnGCBOysCKR28EdD9EPOF yomA== X-Gm-Message-State: AOJu0YxldtONF+jabSK+oe3OKTv3HmROx+EmIVfM72U73BiUun6T+Lqw gjsyNAbt0d2mLcp8CkqBvSBm9E/htf4cjl7Lh4CuC7l1kSD+PtQ/vK+84vje X-Google-Smtp-Source: AGHT+IGpGhDsQXlVFeRJNtLwB5Y9aILBou2JvnqY0fkS9jCRIJdKULRT6woNeGV6Ft0uOd9MfIP7Jg== X-Received: by 2002:a05:620a:1921:b0:788:5c79:9ce with SMTP id bj33-20020a05620a192100b007885c7909cemr623332qkb.8.1709929840979; Fri, 08 Mar 2024 12:30:40 -0800 (PST) Received: from localhost.localdomain (ool-18bb63f6.dyn.optonline.net. [24.187.99.246]) by smtp.gmail.com with ESMTPSA id h4-20020ac846c4000000b0042ed2e8add6sm104963qto.75.2024.03.08.12.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 12:30:40 -0800 (PST) From: aurtzy Date: Fri, 8 Mar 2024 15:27:15 -0500 Message-ID: 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: , 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 4.22 X-Spam-Score: 4.22 X-Migadu-Queue-Id: 098E9CE3C X-TUID: ljZ3eklh8AiQ * gnu/packages/crates-io.scm (rust-bindgen-cli-0.69): New variable. Change-Id: I0841f34d73acf4e161c9f0ba0c6543d7f0d03092 --- gnu/packages/crates-io.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 97dfc03525..150b8884b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6182,6 +6182,59 @@ (define-public rust-bindgen-0.69 bindings to C and C++ libraries.") (license license:bsd-3))) +(define-public rust-bindgen-cli-0.69 + (package + (inherit rust-bindgen-0.69) + (name "rust-bindgen-cli") + (version "0.69.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rust-lang/rust-bindgen.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mksvspqymdypgflgx6xqfxdr9a5wwx534imgcnn3mk7ffz0sqlm")))) + (arguments + (cons* + ;; 1 test case fails (header_ptr32_has_different_size_h); related issue: + ;; https://github.com/rust-lang/rust-bindgen/issues/2638 + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (bindgen (string-append bin "/bindgen")) + (llvm-dir (string-append + (assoc-ref inputs "clang") + "/lib"))) + (mkdir-p bin) + (copy-file "target/release/bindgen" bindgen) + (wrap-program bindgen + `("LIBCLANG_PATH" = (,llvm-dir))))))) + (substitute-keyword-arguments (package-arguments rust-bindgen-0.69) + ((#:skip-build? _) + #f) + ((#:cargo-inputs original-inputs) + `(("rust-bindgen" ,rust-bindgen-0.69) + ("rust-block" ,rust-block-0.1) + ("rust-clap" ,rust-clap-complete-4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-objc" ,rust-objc-0.2) + ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-similar" ,rust-similar-2) + ,@original-inputs))))) + (native-inputs + (modify-inputs (package-native-inputs rust-bindgen-0.69) + (prepend clang))))) + (define-public rust-bindgen-0.66 (package (inherit rust-bindgen-0.69) -- 2.41.0