From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Ncn8FeB3tWB/WwAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 01:57:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qJamEOB3tWBDLgAAB5/wlQ (envelope-from ) for ; Mon, 31 May 2021 23:57:20 +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 EF29C9589 for ; Tue, 1 Jun 2021 01:57:19 +0200 (CEST) Received: from localhost ([::1]:48528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnrmY-0002PC-VP for larch@yhetil.org; Mon, 31 May 2021 19:57:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnrmJ-0001sK-Tp for guix-patches@gnu.org; Mon, 31 May 2021 19:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnrmJ-0003xN-Ly for guix-patches@gnu.org; Mon, 31 May 2021 19:57:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnrmJ-0005if-KL for guix-patches@gnu.org; Mon, 31 May 2021 19:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48671] [PATCH 5/9] gnu: Add rust-nitrokey-0.9. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 May 2021 23:57: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.162250541721935 (code B ref 48671); Mon, 31 May 2021 23:57:03 +0000 Received: (at 48671) by debbugs.gnu.org; 31 May 2021 23:56:57 +0000 Received: from localhost ([127.0.0.1]:35259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnrmC-0005hh-QZ for submit@debbugs.gnu.org; Mon, 31 May 2021 19:56:57 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:44518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnrm9-0005hD-Fu for 48671@debbugs.gnu.org; Mon, 31 May 2021 19:56:55 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (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-202.mailbox.org (Postfix) with ESMTPS id 4FvBz408HKzQk4K; Tue, 1 Jun 2021 01:56:48 +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=1622505402; 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=XQbHjfr6CIHQNMjduaEDPCD1Hi3gZgZQIGSzZHxWe/lLk3UrsFCvHxF3c3dsX3K894U7xj 7ltdR3KhYSAVFsFPl0vJ0z62kiG3d+DjMzA6KEdwErdxMO97F3fqIhX3uZ9qOVDKzSu+Nb hSQPnNwtjDNbuoblm0mBHKCH78VutqHqYMAGKpjuM4C9hL5oIaS2vGhS1yXYiTEB+ppSOJ Bly6+Ji5B0MddH3JhMrQLyI2rzKbQ3ULQyBKNMa1hFVrC76XLcAXjprcZF9RfzRjTBmhtF H/hun+wfa4w0LTvXyUH9wyg8ZUz3EkBXvSysXnMBRoloJBOlAHbIVXUaRoeJBg== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id LzbZj2jUcG1N; Tue, 1 Jun 2021 01:56:41 +0200 (CEST) From: Antero Mejr Date: Mon, 31 May 2021 19:55:38 -0400 Message-Id: <20210531235542.43130-5-antero@kodmin.com> In-Reply-To: <20210531235542.43130-1-antero@kodmin.com> References: <20210531235542.43130-1-antero@kodmin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -0.71 / 15.00 / 15.00 X-Rspamd-Queue-Id: A83BC1813 X-Rspamd-UID: dd25eb 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=1622505440; 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=X/bpIIwy0goXzCo2qlg4HmCxlpQz2/Mh9KL8lj1HcHcV/lrYLfBk8F0Op7NrqFGMiachTw H1j8aXbM6gG4l5Ud5eDSPEB8yK2kLBxv/sdYsEu7e/uZGx/M3ZGAOKoEsFCY2Iyui1zL44 nM3EsoPvQHd8Ex8O9sDT3dPxkLcKPqtFrgTqV/WeAaFnlry3k3/LAVZNt6F6e3Rgow5ARR YW7Dz3VAzcOIo+R5rQfZbT6zL94ZAb58x1kl9Oukz/2zw1baUokSE4+1BKta4/dKDGccTR baXndIrv4KjZYm4VQgfu7/SwVx/h2DN4z7x1QvOkiCFA9d5YBkUvb5XSmOP+GQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622505440; a=rsa-sha256; cv=none; b=u9N6EcYHpOhwkoICI9xr+WuROf6EQ+StixxnAp3Ja7LY8dsg+i2k0FffBTJfFCHp1Ce5iz hFqZoInFUFH5/Ou/CmOeBwTpnR1CMv6WxbDnEET0LX3AMWQ9Dq/lgJ21X+x6QQ21ySsRbm yzx68co4Zh0W0P9TEm8HQHIgWVz+viyUnV8itlIGx6aK7x/w1UaE0aLcEp2cW/snSPunEN p/DTj0GffoO42hf+OBX7BC4qziEkLApcbk4WpdP1uUVwf3aY5rNRwzjLcLW6CBo0PkRVaj s2jm7bEnn/8SwAFY7k+SxO7D7RGCQuc5eJpCFh0xozZjxaEd3H1jvPatPJOo4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kodmin.com header.s=MBO0001 header.b=XQbHjfr6; 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=XQbHjfr6; 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: EF29C9589 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: a6f/W0C0IYzl * 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