Subject: bug#56207: closed (Re: bug#56207: [PATCH] gnu: Add python-starkbank-ecdsa.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 26 Jun 2022 21:12:02 +0000

Your bug report

#56207: [PATCH] gnu: Add python-starkbank-ecdsa.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56207: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56207
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56207: [PATCH] gnu: Add python-starkbank-ecdsa.
From: Ludovic Courtès <[email-masked]>
To: Antero Mejr <[email-masked]>
Cc: [email-masked]
Date: Sun, 26 Jun 2022 23:10:55 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Antero Mejr <[email-masked]> skribis:

> * gnu/packages/python-crypto.scm (python-starkbank-ecdsa): New variable.

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: Add python-starkbank-ecdsa.
From: Antero Mejr <[email-masked]>
To: [email-masked]
Date: Sat, 25 Jun 2022 04:21:34 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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 <[email-masked]>
 ;;; Copyright © 2021, 2022 Maxim Cournoyer <[email-masked]>
 ;;; Copyright © 2021 Maxime Devos <[email-masked]>
+;;; Copyright © 2022 Antero Mejr <[email-masked]>
 ;;;
 ;;; 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