From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eDAKNP+KFWcONQAAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 22:58:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eDAKNP+KFWcONQAAe85BDQ (envelope-from ) for ; Mon, 21 Oct 2024 00:58:07 +0200 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=foMsZcoB; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EXftG6f7; 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=1729465087; 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=7TRZU8YveQijNgD+eeB1RvBVRHcPq3odB+FiJ9ZgCzE=; b=JAwtjgn8h6ESqFAIJVDePZ2rT0S/Ml5xdVYq3EIMTzMtMvuD9Z+0rmjdWibwdl21yWwpcB qR4fI0RUjMDkVqVHvDdHFB9OoxxAQTfXewV6pF4dZOM/RmF0ihBbLMhA+0Bn3HI+9ky+2A RNA90/7Ch/kEX5LilSfc9TfH+A+xOjPyqp6ikKnZY7+UNBKKHFqpcGcXxmo1WFVjKM85ca P1jVibNFqhXzppV6LJsdob8Pl5raOAaG++7J2L5lnVCgNT2PNTaeWdDBE7jSxBfsQIjctw M21r64IWnyjFFPnuvZAC170hb9gHpd6uPZ1Z7KZz+lpcko3mqxa4j1OVFx0SDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729465087; a=rsa-sha256; cv=none; b=VpLUXmm9pODJMYNojxdgIn1mcv/NG60f0Em26gAV9z60zP69K3ql9rkffrCdiqFArCFyJ9 fxxOfmhtAeOh6IucY0/9ajMLByGBjKPGh8aKq2WMhSA4M8vCmLnH5u03bg0e9S4Fvb5mjE yb3ZgPzZcK2cYajypmCPt7gPMcOx/bfKYmb5fFr9f1WYNVz2j0pGDt65qX8SHcu2O1uWdm XuWDYqJxfd7S3W7dqn9GIgdHHP30XJxLDokbzLagVfofdLPYJsaY7ECwyiVcn/I4Vikws7 ch81mo1H07OaSYfNK4A5pq/xTvS5og9Wy1+8Kqki5QYU6sR3q+/B6z42pPV2Rg== 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=foMsZcoB; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EXftG6f7; 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 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 AF2A57B634 for ; Mon, 21 Oct 2024 00:58:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2erm-00039x-9g; Sun, 20 Oct 2024 18:57:42 -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 1t2eri-00037x-5H for guix-patches@gnu.org; Sun, 20 Oct 2024 18:57:38 -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 1t2erh-0002AT-La for guix-patches@gnu.org; Sun, 20 Oct 2024 18:57:37 -0400 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=7TRZU8YveQijNgD+eeB1RvBVRHcPq3odB+FiJ9ZgCzE=; b=foMsZcoB5eMBrrUDtjrF5CmZxn+a9REks7SGgaQk3rXWwl1x3sOESBEeitIutUMMAfqf3UzjIu8eS2lX2AMl36A3fcbAZaFc+p6Nma4KXv7HCfswJjgC2/E+UN/+CJFHoeCDODrpqeiksrMY9EgSW0At0FIZ1OcfZVhnhXeBxkplSPWYjIhwhU7pzqt7in0BV0ef5EcEYNmwibZnBnSDOv9yY1Hp1Pa1Wk6V+jtmP2nx5XHsNFxtkJuYCFjwELncT62g2VdBdQXyop4nN918UoEC9W7JTZLuAZ7nrS9I/iMywLJOKVeNYlWKfpH+wdWPSDRxNPQ4BU1lYige+udLyw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2es6-0002GM-US; Sun, 20 Oct 2024 18:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70705] [PATCH v2 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: Sun, 20 Oct 2024 22:58: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.17294650418615 (code B ref 70705); Sun, 20 Oct 2024 22:58:02 +0000 Received: (at 70705) by debbugs.gnu.org; 20 Oct 2024 22:57:21 +0000 Received: from localhost ([127.0.0.1]:49252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erR-0002Es-4q for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:21 -0400 Received: from confino.investici.org ([93.190.126.19]:56455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erP-0002Ee-Jp for 70705@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729465013; bh=7TRZU8YveQijNgD+eeB1RvBVRHcPq3odB+FiJ9ZgCzE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EXftG6f7WudocybaRBkZxCiksQJSUAQyReEtB7Q8uecs4CuthH/lyjGvXJD3S1V8U V7XKTMAYle2AVcI+HrQe+ox7p1vNIiPT1XlxAwqU6bFSqplX1+ACMYllSKCY5tnPOp Aat+gQgyLOxc36Yap46RSuhj+LoSLM4ILn8iOIPo= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWv2Y2kfKz10yH; Sun, 20 Oct 2024 22:56:53 +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 4XWv2Y1wFYz10y2; Sun, 20 Oct 2024 22:56:53 +0000 (UTC) Date: Mon, 21 Oct 2024 00:56:43 +0200 Message-ID: <70ac2afce60f2b3e04c2d3ee09047623b85ce4be.1729465003.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <1337378d461f2489eae608e2366132db07842627.1729465003.git.goodoldpaul@autistici.org> References: <1337378d461f2489eae608e2366132db07842627.1729465003.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.76 X-Spam-Score: -2.76 X-Migadu-Queue-Id: AF2A57B634 X-Migadu-Scanner: mx13.migadu.com X-TUID: oZseOL5aN6On * 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 8bbed8a5a8..43f78234ee 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32260,6 +32260,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-hexf-parse-0.1 (package (inherit rust-hexf-parse-0.2) -- 2.46.0