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 ms1.migadu.com with LMTPS id WHeXB9+oMmYZUgAAqHPOHw:P1 (envelope-from ) for ; Wed, 01 May 2024 22:41:03 +0200 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 WHeXB9+oMmYZUgAAqHPOHw (envelope-from ) for ; Wed, 01 May 2024 22:41:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="b/tA7M3a"; 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=1714596063; 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=3WwJIZ05zxGdHPiPUgm3NHS/IaIJO1d9FWuCSFq25lo=; b=UR9CP1/Kx8M3gqfO+mpviZEf67CfFPQQRENja2nqkIT66DuooCTuyFCY9sHX3PnpBuP18A nfwM5ZChgnl2DqbbjBamcIN4S9WpOMcIX8pqHseKtHrbGpK3cDZevbUNidKUItV9PsN3vT WmuZfirMgphEjhn/uD7qM+nzcsEBjR/tI1PGu53dzHfeQ8K+nz/dLzz6BUsNoExwyORjFH LYO7CwqhltcBlRNOh/M0ea6JvM3NajNhlU1S8SonfFVmd9ic9OeapSiCQlMS4m7afDn82Q y3U6X+jQg3Mpie9nOl6KfvJVQ2CMLIuf1yP1kOCFDX1lRlSv6HpwqETR+nEmxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="b/tA7M3a"; 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=1714596063; a=rsa-sha256; cv=none; b=JS/3DJvTZcUN9Us7vm4YCmzOEbdvKigx2e3ElEYsnNZCUvU9Fj1B1nvMlH//ap0izBrPjC +6Q1bqutyjgHTGiPmOH6cUjs0eLnneo/kAS+N+5hfQcZ2i+jJlvSMBJpZXJAGBQ3T2+gaa v6EEAZcTPId2afzSyDpsuVebB1TIYQCsm7zn0B+QVP8NBVMuZ9pSMI7G96Oi3GaIRB6CY4 lgQmjj8BLqC7atavY/cPqZ9YrM4LO0ss2xnK6YQuAkvPxZLabqdMJ/HDS5IBf5VDlEiEsT rXV3OYjsxZ10dLhkNZ0dE9gEQM/PXSsFfpEiHDKG/wfr09fpkYeIYirNdSF8qA== 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 E7DF820F6F for ; Wed, 1 May 2024 22:41:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2Gl3-0008V2-IH; Wed, 01 May 2024 16:40:53 -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 1s2Gks-0008Qn-Gx for guix-patches@gnu.org; Wed, 01 May 2024 16:40:46 -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 1s2Gkq-0000Dd-S2 for guix-patches@gnu.org; Wed, 01 May 2024 16:40:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2GlC-0006G3-3M; Wed, 01 May 2024 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70705] [PATCH 3/3] gnu: Add rust-hidapi-2. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 01 May 2024 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70705 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 70705@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70705-submit@debbugs.gnu.org id=B70705.171459604424027 (code B ref 70705); Wed, 01 May 2024 20:41:02 +0000 Received: (at 70705) by debbugs.gnu.org; 1 May 2024 20:40:44 +0000 Received: from localhost ([127.0.0.1]:39322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gkt-0006FS-TT for submit@debbugs.gnu.org; Wed, 01 May 2024 16:40:44 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:56701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gks-0006FA-BC for 70705@debbugs.gnu.org; Wed, 01 May 2024 16:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1714596019; bh=3WwJIZ05zxGdHPiPUgm3NHS/IaIJO1d9FWuCSFq25lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b/tA7M3aUQYRWgdscOVPRBpXL6MXIvynQkPkn2om2TxkuIDRxGriLcg/qtOF2X9pK YRioiuBVTbv5dAxjg3MefJjyk6IVIhi6/LPHDILs7eUN4TQLvyCD24lUzDBbkzScP/ psmkjJUl4rIeZX2WkxLBpPkuASJyaTJRhQr/b1s8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4VV88M455mz11MF; Wed, 1 May 2024 20:40:19 +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 4VV88M31gZz117c; Wed, 1 May 2024 20:40:19 +0000 (UTC) Date: Wed, 1 May 2024 22:39:40 +0200 Message-ID: <9997e2566a91b9e685cb631570f825ac500221f0.1714595980.git.goodoldpaul@autistici.org> 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: 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-Spam-Score: -6.59 X-Migadu-Queue-Id: E7DF820F6F X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.59 X-TUID: nJBbFM8kj3ru * gnu/packages/crates-io.scm (rust-hidapi-2): New variable. Change-Id: I3a8bb6e7d6e555fba8df036053b146d414b14198 --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 56ecb967cb..7ac1c8f2da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28737,6 +28737,36 @@ (define-public rust-hexf-parse-0.2 provided for each type.") (license license:cc0))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g62241lsd88blvmnwl4mwa556dljazc3g2ymq6zx27y4082an4y")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev hidapi)) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-udev" ,rust-udev-0.8) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around @code{hidapi}") + (description "This crate provides a Rust abstraction over the features of +the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") + (license license:expat))) + (define-public rust-hostname-0.3 (package (name "rust-hostname") -- 2.41.0