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 EJXIKJ/K2GYShgAAe85BDQ:P1 (envelope-from ) for ; Wed, 04 Sep 2024 21:01:19 +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 EJXIKJ/K2GYShgAAe85BDQ (envelope-from ) for ; Wed, 04 Sep 2024 23:01:19 +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="eC/aOmjB"; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=lT505A+P; 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=1725483679; 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=KP6RpT/GeGBti3PxXz+M3kcL8pytdSfqomZReXZZ/gE=; b=i1X0RgaLzmnG+PQXyXBRNT5TAYxtAnJ73DImos2/NkRTF6Fdape0Lm1v1zUOfEk+IFtiJV tcYcpekGm9dskOhYDda2gcmbfdopvSHjhjEUgKdP0vczWqCmc5mgBzbalPmhq6Z36RSrFl i5m3kvhjZh1SlJqA7H0aFlMQ62CpSQTXA0axvkdlhTCykOXHn7ireTvjbHXVtKQUolha2F HuIfhY/K7yi2kSBqNiutyT8MaI61GH+X5DWuK3gfgPKpR2q6GbIELEvIKuSNJPmyb5w4KF 0ejOyoJIgaOYdCyKmy/P6pqs79dUAPiYR2WxZU1NbsGai9Njo/DjZjcPbg7fNw== 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="eC/aOmjB"; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=lT505A+P; 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=1725483679; a=rsa-sha256; cv=none; b=bdxh2NvtUOwDk1VJjuJ43X2wRAUw6sPxSaVZEwgsVOJwpEWLY6I/4R0LLOBhH+PI+ddXSn TUPRP6x6Vw5WA9K8QDxNKQXnqma6Cjtkps8Oo+2geV4g0QG4PFLsX6O8QdkUZwsy8o95jt fLW0UJ4lHLAwnf3UPyWvE+RRF3L9NYo1cYPl9nhWdZaDwwaJQeCHmfEq0c8mxwa7s/7oAt iftwfh/snpAMRIGxgpqBUD+7rZpv8LYfluOPxbtlukpA4XRea9EaxuUGBmmAikwUUN63sd hG4Izlz6yfxHykENLe0m2U/0TI00GO6SrUDUZ8oxnt9Py7ea8VFPERC80uJnjw== 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 9347D3F485 for ; Wed, 4 Sep 2024 23:01:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slx7b-0001E8-UM; Wed, 04 Sep 2024 17:00:59 -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 1slx7a-0001DO-Eq for guix-patches@gnu.org; Wed, 04 Sep 2024 17:00:58 -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 1slx7a-0001Yt-5T for guix-patches@gnu.org; Wed, 04 Sep 2024 17:00:58 -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=KP6RpT/GeGBti3PxXz+M3kcL8pytdSfqomZReXZZ/gE=; b=eC/aOmjB6Cgu8HOs3RH25VWDNKDHcohxfn7o27sUJSz3IYRhNwiAMZJ16ap1UGlnv21dgnNJF2pK1gaCN1fXX8jvvk0JcuAcWY5RaWq6BhRvcAjyVDmZZL3fWgnS0nhgZBe84ll/BX+++aDhm5N9hFNU4vT93NVwtWDtkqtCF6m/+ZcKtGl85q3Tkb83jl5p7lIhzNebLjy59hQNTUqKFcxznBFB2L7XiSTfWACPeZMZl81nTXwCccjf55zr2aXbm7fxVcsGVR+u2ohbV9OnOSn69VlU5aTIuORvzGGZ5TVxfvExrT6DrzCUpk/duRDU/mhItEkhhNFhKHEFG2GniA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slx8c-00076m-12; Wed, 04 Sep 2024 17:02: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: Wed, 04 Sep 2024 21:02:01 +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.172548366826795 (code B ref 70705); Wed, 04 Sep 2024 21:02:01 +0000 Received: (at 70705) by debbugs.gnu.org; 4 Sep 2024 21:01:08 +0000 Received: from localhost ([127.0.0.1]:35535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7j-0006xZ-ON for submit@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:08 -0400 Received: from confino.investici.org ([93.190.126.19]:64637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7i-0006wr-3d for 70705@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725483601; bh=KP6RpT/GeGBti3PxXz+M3kcL8pytdSfqomZReXZZ/gE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lT505A+PqfgzgEEYIi+L+BgmKUXWmrLYoSEgJFJCKRAkvGmsw2cLbdEwjD0LGe+6u 85cBZcLAGUoVJG9Qfj7eKHXavbZOuAokucXZiVTjQ0r65r/5vb/zfpQbQtYMjYiLl8 qTbgoJNzOkJiv2MQztI7nqplKVJc85iP1TH38lSs= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WzZcx3SXXz117y; Wed, 4 Sep 2024 21:00:01 +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 4WzZcx2c0xz115w; Wed, 4 Sep 2024 21:00:01 +0000 (UTC) Date: Wed, 4 Sep 2024 22:59:48 +0200 Message-ID: <40803695c21276e3177f167c8b270c7ebeb9b784.1725483588.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <3341545202da586792b086d4c614618b70d06385.1725483588.git.goodoldpaul@autistici.org> References: <3341545202da586792b086d4c614618b70d06385.1725483588.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 9347D3F485 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-TUID: OCsLlLq+yCMd * 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 37b50d3b69..8912232885 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.45.2