all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jesse--- via Guix-patches via <guix-patches@gnu.org>
To: 74039@debbugs.gnu.org
Cc: Jesse Eisses <jesse@eisses.email>
Subject: [bug#74039] [PATCH v2 2/5] gnu: Add python-coincurve
Date: Sun, 27 Oct 2024 22:13:13 +0100	[thread overview]
Message-ID: <d2d3df469c7e8465ead1d88b31e3e3a4f7b148a1.1730063595.git.jesse@eisses.email> (raw)
In-Reply-To: <42cbc6b9509ad22d60d78258413b304fc957c886.1730063595.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 262380d13e..d96055601d 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -110,6 +110,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)
@@ -1119,6 +1120,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





  reply	other threads:[~2024-10-27 21:15 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 ` [bug#74039] [2/5] gnu: Add python-coincurve jesse--- via Guix-patches via
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   ` jesse--- via Guix-patches via [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2d3df469c7e8465ead1d88b31e3e3a4f7b148a1.1730063595.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.