From: jesse--- via Guix-patches via <guix-patches@gnu.org>
To: 74039@debbugs.gnu.org
Cc: Jesse Eisses <jesse@eisses.email>
Subject: [bug#74039] [2/5] gnu: Add python-coincurve
Date: Sun, 27 Oct 2024 01:58:32 +0200 [thread overview]
Message-ID: <bda6ecdbf4385edd3012abceddb5183c4ca1263a.1729985174.git.jesse@eisses.email> (raw)
In-Reply-To: <cover.1729985174.git.jesse@eisses.email>
From: Jesse Eisses <jesse@eisses.email>
Change-Id: I2acb09def9193247b1e4169321cf22bdb77c9960
---
gnu/packages/finance.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 59a11e6925..c3ff34e0cc 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -109,6 +109,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
@@ -1118,6 +1119,35 @@ (define-public python-ledgercomm
(description "Library to communicate with Ledger Nano S/X and Speculos")
(license license:expat)))
+(define-public python-coincurve
+ (package
+ (name "python-coincurve")
+ (version "18.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "coincurve" version))
+ (sha256
+ (base32
+ "1hagr7hicfc1hkg5lfxj0di53bp3rbpq0rz5h279v80pwjpjcrn8"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-asn1crypto python-cffi))
+ (home-page "https://pypi.org/project/coincurve")
+ (inputs (list libsecp256k1))
+ (native-inputs (list autoconf automake libtool pkg-config))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'unpack 'use-libsecp256k1-input
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((lib-dir (string-append
+ (assoc-ref inputs "libsecp256k1") "/lib")))
+ (setenv "LIB_DIR" lib-dir)))))))
+ (synopsis "Cross-platform Python CFFI bindings for libsecp256k1")
+ (description "Cross-platform Python CFFI bindings for libsecp256k1")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public python-trezor
(package
(name "python-trezor")
--
2.46.0
next prev parent reply other threads:[~2024-10-26 23:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-26 23:53 [bug#74039] [0/5] Add ledger hardware wallet support jesse--- via Guix-patches via
2024-10-26 23:58 ` [bug#74039] [1/5] gnu: Add python-ledgercomm jesse--- via Guix-patches via
2024-10-26 23:58 ` jesse--- via Guix-patches via [this message]
2024-10-26 23:58 ` [bug#74039] [3/5] gnu: Add python-bip32 jesse--- via Guix-patches via
2024-10-26 23:58 ` [bug#74039] [4/5] gnu: Add python-ledger-bitcoin jesse--- via Guix-patches via
2024-10-26 23:58 ` [bug#74039] [5/5] gnu: Add ledger hardware wallet support to electrum jesse--- via Guix-patches via
2024-10-27 8:06 ` [bug#74039] [0/5] Add ledger hardware wallet support Jesse Eisses via Guix-patches via
2024-10-27 14:15 ` James Smith via Guix-patches via
2024-10-27 21:08 ` Jesse Eisses via Guix-patches via
2024-10-27 21:13 ` [bug#74039] [PATCH v2 1/5] gnu: Add python-ledgercomm jesse--- via Guix-patches via
2024-10-27 21:13 ` [bug#74039] [PATCH v2 2/5] gnu: Add python-coincurve jesse--- via Guix-patches via
2024-10-27 21:13 ` [bug#74039] [PATCH v2 3/5] gnu: Add python-bip32 jesse--- via Guix-patches via
2024-10-27 21:13 ` [bug#74039] [PATCH v2 4/5] gnu: Add python-ledger-bitcoin jesse--- via Guix-patches via
2024-10-27 21:13 ` [bug#74039] [PATCH v2 5/5] gnu: Add ledger hardware wallet support to electrum jesse--- via Guix-patches via
2024-10-28 9:35 ` [bug#74039] Comments Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bda6ecdbf4385edd3012abceddb5183c4ca1263a.1729985174.git.jesse@eisses.email \
--to=guix-patches@gnu.org \
--cc=74039@debbugs.gnu.org \
--cc=jesse@eisses.email \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).