From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 00:21:54 2022 Received: (at submit) by debbugs.gnu.org; 25 Jun 2022 04:21:54 +0000 Received: from localhost ([127.0.0.1]:43914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4xIw-0007Lj-32 for submit@debbugs.gnu.org; Sat, 25 Jun 2022 00:21:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:48920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4xIt-0007LX-44 for submit@debbugs.gnu.org; Sat, 25 Jun 2022 00:21:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4xIr-0001UJ-KI for guix-patches@gnu.org; Sat, 25 Jun 2022 00:21:50 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:47536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o4xIm-0005U8-7L for guix-patches@gnu.org; Sat, 25 Jun 2022 00:21:49 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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 4LVLR657LMz9sSj for ; Sat, 25 Jun 2022 06:21:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1656130898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HhNXhyLIP4TDmOlxammXNX5ehs5QzqepoUErUsqtWS0=; b=HUu8j1UmQI+pTj7lsF0tJddWMSipe4zQZ0x/eSSCkGxSYsJWXKAufKhKeLOc4rDaj1W7kv w6nuZUJB4S48bABwPR0Rd3HnqR7pgtFw3C6FNr5NQ6o+Nzn0N7+hu0bMIwCyDDWNYletsg uOUHg9tv31+smcLvG1hXmWiRkH/sl22MwZ7XjPRIXw59VrrYEoCk0gYm02k3Fvuxhv8Ies HU+nZJtwIpfJkeFxltQhrNASeG3+SSBjSe/8yjkqJ4RocZAlpp9KG1SHQ9ivrKEwTOdP/N iD0qfVidxR/C8jiRIlyqnZFFuMgzDvz2EPG8WrkNErJOTo7HBnNqGJo/3ur21Q== From: Antero Mejr To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-starkbank-ecdsa. Date: Sat, 25 Jun 2022 04:21:34 +0000 Message-Id: <20220625042134.7109-1-antero@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 8aa0b3ed9dadd5e5919 X-MBO-RS-META: 6tibbwh87wayxwbqutbd6bp4cbq3oda1 X-Rspamd-Queue-Id: 4LVLR657LMz9sSj Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=antero@mailbox.org; helo=mout-p-202.mailbox.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-crypto.scm (python-starkbank-ecdsa): New variable. --- gnu/packages/python-crypto.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index f2059dbbf5..f4e01198f5 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2022 Antero Mejr ;;; ;;; This file is part of GNU Guix. ;;; @@ -1651,3 +1652,29 @@ (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-starkbank-ecdsa + (package + (name "python-starkbank-ecdsa") + (version "2.0.3") + (home-page "https://github.com/starkbank/ecdsa-python") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k9h4p0frkgj76vrqfjim4mik98g09mivdxxcmxr6raa5jwr83sh")))) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-broken-test + (lambda _ + (delete-file "tests/testOpenSSL.py")))))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (synopsis "Python ECDSA library") + (description "This package provides a Python ECDSA library, optimized for +speed but without C extensions.") + (license license:expat))) -- 2.36.1