From patchwork Sat Jun 25 04:21:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 40313 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 2FE4B27BBE9; Sat, 25 Jun 2022 05:22:14 +0100 (BST) 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,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 392B027BBEA for ; Sat, 25 Jun 2022 05:22:11 +0100 (BST) Received: from localhost ([::1]:41428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4xJC-0001WN-AP for patchwork@mira.cbaines.net; Sat, 25 Jun 2022 00:22:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4xJ4-0001Vx-H2 for guix-patches@gnu.org; Sat, 25 Jun 2022 00:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4xJ4-0005WY-7q for guix-patches@gnu.org; Sat, 25 Jun 2022 00:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4xJ4-0007M7-20 for guix-patches@gnu.org; Sat, 25 Jun 2022 00:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56207] [PATCH] gnu: Add python-starkbank-ecdsa. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jun 2022 04:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56207 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56207@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165613091428259 (code B ref -1); Sat, 25 Jun 2022 04:22:01 +0000 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== Date: Sat, 25 Jun 2022 04:21:34 +0000 Message-Id: <20220625042134.7109-1-antero@mailbox.org> MIME-Version: 1.0 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-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches * 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)))