From patchwork Thu Feb 10 21:30:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?P=C4=81ladhammika?= X-Patchwork-Id: 37176 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6274A27BBEA; Thu, 10 Feb 2022 22:56:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F381427BBE9 for ; Thu, 10 Feb 2022 22:56:19 +0000 (GMT) Received: from localhost ([::1]:37872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIMN-0007SD-3v for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 17:56:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH1q-0005NF-Tg for guix-patches@gnu.org; Thu, 10 Feb 2022 16:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIH1q-0002Uf-IU for guix-patches@gnu.org; Thu, 10 Feb 2022 16:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIH1q-0005cQ-DT for guix-patches@gnu.org; Thu, 10 Feb 2022 16:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53929] [PATCH] gnu: Add python-onlykey Resent-From: =?utf-8?q?P=C4=81ladhammika?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 21:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53929@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164452865821358 (code B ref -1); Thu, 10 Feb 2022 21:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 21:30:58 +0000 Received: from localhost ([127.0.0.1]:57359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIH1m-0005Y3-7Z for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:30:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:43788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIH1k-0005Vm-5q for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:30:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH1k-0005Mt-01 for guix-patches@gnu.org; Thu, 10 Feb 2022 16:30:56 -0500 Received: from mail-40137.protonmail.ch ([185.70.40.137]:58727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH1h-0002P7-Aw for guix-patches@gnu.org; Thu, 10 Feb 2022 16:30:55 -0500 Date: Thu, 10 Feb 2022 21:30:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644528643; bh=hsfxVEF8aj3PItjnmsI1/VzQj7q8EeLJ6xUrSazj5II=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=Fb7AmJwAj10AhlfCIsY964kCzj2oVV/+b6yWxOC3b52h86UEDSd3vvHFUXNLzP9n+ rn5MUgpI7gbNj6L3mFL/X26gmjUkai8nrRRA9UBuqIc+t4LhPUQi2zvYlutaDPzAwB NG8GD6FB2xZhiw2YjCcMmkelzsBHDBxMKSYzJKdvf1MAm1itHle3rm8UYFKJa872Nx OPTpVEbmtdTBeQLqxkOF+DC6NQtomCGtPn7Z91bdTFAf3X2QOMJbNXwUr8Za3JW0cF XMoZiEggTbELCvM+H2xZzuYseId3vhtpok82kEkgpxp2x9d8JaRzI59idokJHebcqH rwBXssZBnJFHw== Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.137; envelope-from=paladhammika@protonmail.com; helo=mail-40137.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 10 Feb 2022 17:55:36 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: =?utf-8?q?P=C4=81ladhammika?= X-ACL-Warn: , =?utf-8?q?P=C4=81ladhammika_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?P=C4=81ladhammika_via_Guix-patches?= via From: =?utf-8?q?P=C4=81ladhammika?= X-getmail-retrieved-from-mailbox: Patches All the best, Pāladhammika From fcd7308b757170c86913b5e97df1971398d30270 Mon Sep 17 00:00:00 2001 From: paladhammika Date: Thu, 10 Feb 2022 16:26:03 -0500 Subject: [PATCH] gnu: Add python-onlykey --- gnu/packages/python-crypto.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index e49ccdf1f2..8559cc9fd0 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1757,3 +1757,32 @@ (define-public python-sop scaffolding for the command line, which should make it relatively easy to supply a handful of python functions as methods to a class.") (license license:expat))) ; MIT license + +(define-public python-onlykey + (package + (name "python-onlykey") + (version "1.2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "onlykey" version)) + (sha256 + (base32 "1mq02x6qncsjqadqjakywdnfclsv7jaabfk1kzwrm5x05c0hbzji")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ;no tests + (native-inputs + (list python-cython)) + (propagated-inputs + (list python-aenum + python-ecdsa + python-hidapi + python-onlykey-solo-python + python-prompt-toolkit + python-pynacl + python-six + onlykey-udev-rules)) + (home-page "https://github.com/trustcrypto/python-onlykey") + (synopsis "OnlyKey client and command-line tool") + (description "@code{OnlyKey Python Command-Line Utility} is a command line tool +targeted towards more advanced users. This can be used for configuration and testing.") + (license license:expat))) -- 2.34.0