diff options
author | Antero Mejr <antero@mailbox.org> | 2022-06-25 04:21:34 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-26 23:19:14 +0200 |
commit | 53be886d18e0b7c205ede4890b0ea8189a39e602 (patch) | |
tree | 3ec1463f10415665bb4d38eef1a28d2dfa0640f4 /gnu/packages/python-crypto.scm | |
parent | afc490b957fce17202aded63a389d4401ae6d9bd (diff) | |
download | guix-53be886d18e0b7c205ede4890b0ea8189a39e602.tar.gz |
gnu: Add python-starkbank-ecdsa.
* gnu/packages/python-crypto.scm (python-starkbank-ecdsa): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r-- | gnu/packages/python-crypto.scm | 27 |
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 @@ ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> +;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1651,3 +1652,29 @@ It does not provide such an implementation itself -- this is just the 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))) |