From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yFy3CkUHtGCplwAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 23:44:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aKqhBUUHtGDDTgAAbx9fmQ (envelope-from ) for ; Sun, 30 May 2021 21:44:37 +0000 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 79C701C7FF for ; Sun, 30 May 2021 23:44:36 +0200 (CEST) Received: from localhost ([::1]:34170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnTEZ-0005mB-GI for larch@yhetil.org; Sun, 30 May 2021 17:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnTE5-0005ju-My for guix-patches@gnu.org; Sun, 30 May 2021 17:44:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnTE3-0001kY-Tr for guix-patches@gnu.org; Sun, 30 May 2021 17:44:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnTE3-0006XQ-S2 for guix-patches@gnu.org; Sun, 30 May 2021 17:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48671] [PATCH 05/11] gnu: Add rust-nitrokey-0.9. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 May 2021 21:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48671 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48671@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 48671-submit@debbugs.gnu.org id=B48671.162241102424985 (code B ref 48671); Sun, 30 May 2021 21:44:03 +0000 Received: (at 48671) by debbugs.gnu.org; 30 May 2021 21:43:44 +0000 Received: from localhost ([127.0.0.1]:60497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnTDk-0006Uu-CN for submit@debbugs.gnu.org; Sun, 30 May 2021 17:43:44 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:22758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnTDf-0006U3-EO for 48671@debbugs.gnu.org; Sun, 30 May 2021 17:43:41 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4FtX3n30cDzQjmP; Sun, 30 May 2021 23:43:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kodmin.com; s=MBO0001; t=1622411011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9MjRtapCdKF429NoDAKJK+QDm0psk7ycrnJ2nP7hskU=; b=u22+SSiRZlsrr1hY1ZMqxiZ1dutekWCsLBq5TnOFjUgpnn0tMRLW9Qz8AfEA9Lx28ypPpI ZQ6U0miBTYxI5TM9jyCvKu6YNehpOcFik4DfaZ7HO9HaPID74H101aPq4XLXaHvgChBsQ5 sdlNhX6oqYw3CBzN/ooP7lV0u1qPpqTlLfDkHrjWLl9KmdoMdlxqRO6ClrneQgDq27A6NT +5y6y6rZB9txAxWmCVb17nQhyc6eaTTPssewHSlpU6FexDvpNEZtcDMLz4RrFno3j2glZm uObHEadHb1UpYDPMy2nHZiCSE8G+mnVysv3dKjRYcmGvOLsdXkw3gnZXyrMr7Q== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id saxXhaPKrkPQ; Sun, 30 May 2021 23:43:29 +0200 (CEST) From: Antero Mejr Date: Sun, 30 May 2021 17:42:06 -0400 Message-Id: <20210530214212.11807-5-antero@kodmin.com> In-Reply-To: <20210530214212.11807-1-antero@kodmin.com> References: <20210530214212.11807-1-antero@kodmin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -1.03 / 15.00 / 15.00 X-Rspamd-Queue-Id: 49292188F X-Rspamd-UID: a0b944 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622411076; 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=9MjRtapCdKF429NoDAKJK+QDm0psk7ycrnJ2nP7hskU=; b=temVvJ46s2pbjcBm4zMV7GadMimdt9AhaF+jL6L+6bpAffXQqiK9WmV58Kq0pGFJPIyuHX ux5xAidiqglbKKAB5OgXFixAzB2nvIYMRFnB9kAJy7fuUNshpQo54WBj08yAtJdecPp6dg ggZtcd7WZyXsmVsJiW3BmDzyIF0b7vj9e4LzlHSbqEmmfrLdJdI0kt1aqI2nwVWNAWDsMn ZC56FZiBEjvJ+0lwPMuCXHK13ZNA8NoWlvhIsfJG4f98o00B8XcHyh+Yo45itYdo9dGtMF OOEs+x+pIT7yn2FQwrlZ+z0b/+zgyO5FmyXJSG03JpKCvNjhy8mbWQyPcQiPnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622411076; a=rsa-sha256; cv=none; b=CqYxk5HpUbThXlVRYtLfpt6uYt2vtsPeeXkLjsNwmkAouIWKzgGz4cC3EoU02unMuCKRCV 7SiT8LtkQUp3k2v4am/ZtvCXawEmRicypewet6k2wUzWs1RowqYAJ38Wq1oEQo2WKYGZp4 +FWehquy+q9UklgzxZtNhNZiIcX/TFIcI/uVJh2nAHlDVknH3J/N+aDpuF9iI10oFR+kT1 1PjZWHOCE2KhxDBkQrFIleqDmngq0O0OiRJ2wdHfWZoZzJ50yJEw8TxRIW1XpmKcLAGXnb F9cV6bgTFfQeVPSEZ6cOoLjI+YcCyHHD5bsdASItgiV6DejicOYz/1Qc1LVcXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kodmin.com header.s=MBO0001 header.b=u22+SSiR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=kodmin.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kodmin.com header.s=MBO0001 header.b=u22+SSiR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=kodmin.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 79C701C7FF X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZtmR1rihEmos * gnu/packages/crates-io.scm (rust-nitrokey-0.9): New variable. --- gnu/packages/crates-io.scm | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e20feb78f2..e41920652e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25107,6 +25107,96 @@ selectors. You can use the jQuery-like syntax to query and manipulate an HTML document quickly.") (license (list license:expat license:asl2.0)))) +(define-public rust-nitrokey-0.9 + (package + (name "rust-nitrokey") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nitrokey" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c8mj52ckvy1311vwxs6jpw16b2bihp5cc811isb96j9slcjvsyx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy_static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nitrokey-sys" ,rust-nitrokey-sys-3) + ("rust-rand_core" ,rust-rand-core-0.5)))) + (home-page "https://git.sr.ht/~ireas/nitrokey-rs") + (synopsis "Rust bindings to libnitrokey") + (description + "This package provides bindings to libnitrokey for communication +with Nitrokey devices.") + (license license:expat))) + +(define-public rust-nitrokey-sys-3 + (package + (name "rust-nitrokey-sys") + (version "3.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nitrokey-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08c3lnb8iqx000jd5rzvrdvv4ihjyw3x3s8q11dw56is0nmjyvws")))) + (build-system cargo-build-system) + (home-page "https://git.sr.ht/~ireas/nitrokey-sys-rs") + (synopsis "Low-level Rust bindings for libnitrokey") + (description + "This package provides low-level bindings to libnitrokey for +communication with Nitrokey devices.") + (license license:lgpl3))) + +(define-public rust-nitrokey-test-0.5 + (package + (name "rust-nitrokey-test") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nitrokey-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "197j9r2s4ydzbqfydza6v31mgcsgd29jpidz4psqawjdm49f8lg6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("quote" ,rust-quote-1) + ("syn" ,rust-syn-1)))) + (home-page "https://github.com/d-e-s-o/nitrokey-test") + (synopsis "Supporting test infrastructure for the nitrokey crate") + (description + "This package provides supporting test infrastructure for the +nitrokey crate and others using it.") + (license license:gpl3+))) + +(define-public rust-nitrokey-test-state-0.1 + (package + (name "rust-nitrokey-test-state") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nitrokey-test-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00w817kl8q3sna924pzl72ybqljny14rdv1ixlj288fmsqp776x5")))) + (build-system cargo-build-system) + (home-page "https://github.com/d-e-s-o/nitrokey-test") + (synopsis "State required and used by the nitrokey-test crate") + (description "This package provides state required and used by the +nitrokey-test crate.") + (license license:gpl3+))) + (define-public rust-nix-0.20 (package (name "rust-nix") -- 2.31.1