summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntero Mejr <antero@mailbox.org>2022-06-25 04:21:34 +0000
committerLudovic Courtès <ludo@gnu.org>2022-06-26 23:19:14 +0200
commit53be886d18e0b7c205ede4890b0ea8189a39e602 (patch)
tree3ec1463f10415665bb4d38eef1a28d2dfa0640f4
parentsubstitute: Use SRFI-71 instead of SRFI-11. (diff)
downloadguix-53be886d18e0b7c205ede4890b0ea8189a39e602.tar.gz
guix-53be886d18e0b7c205ede4890b0ea8189a39e602.tar.bz2
guix-53be886d18e0b7c205ede4890b0ea8189a39e602.tar.xz
gnu: Add python-starkbank-ecdsa.
* gnu/packages/python-crypto.scm (python-starkbank-ecdsa): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-crypto.scm27
1 files changed, 27 insertions, 0 deletions
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 @@
26;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> 26;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
27;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> 27;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
28;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> 28;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
29;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
29;;; 30;;;
30;;; This file is part of GNU Guix. 31;;; This file is part of GNU Guix.
31;;; 32;;;
@@ -1651,3 +1652,29 @@ It does not provide such an implementation itself -- this is just the
1651scaffolding for the command line, which should make it relatively easy to 1652scaffolding for the command line, which should make it relatively easy to
1652supply a handful of python functions as methods to a class.") 1653supply a handful of python functions as methods to a class.")
1653 (license license:expat))) ; MIT license 1654 (license license:expat))) ; MIT license
1655
1656(define-public python-starkbank-ecdsa
1657 (package
1658 (name "python-starkbank-ecdsa")
1659 (version "2.0.3")
1660 (home-page "https://github.com/starkbank/ecdsa-python")
1661 (source (origin
1662 (method git-fetch)
1663 (uri (git-reference
1664 (url home-page)
1665 (commit (string-append "v" version))))
1666 (file-name (git-file-name name version))
1667 (sha256
1668 (base32
1669 "1k9h4p0frkgj76vrqfjim4mik98g09mivdxxcmxr6raa5jwr83sh"))))
1670 (arguments
1671 (list #:phases #~(modify-phases %standard-phases
1672 (add-after 'unpack 'remove-broken-test
1673 (lambda _
1674 (delete-file "tests/testOpenSSL.py"))))))
1675 (build-system python-build-system)
1676 (native-inputs (list python-pytest))
1677 (synopsis "Python ECDSA library")
1678 (description "This package provides a Python ECDSA library, optimized for
1679speed but without C extensions.")
1680 (license license:expat)))