all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Léo Le Bouter via Guix-patches via <guix-patches@gnu.org>
To: 44990@debbugs.gnu.org
Cc: John Doe <dftxbs3e@free.fr>
Subject: [bug#44990] [PATCH v2 8/8] gnu: electrum: Update to 4.0.7.
Date: Fri, 11 Dec 2020 20:55:52 +0100	[thread overview]
Message-ID: <20201211195552.21624-8-lle-bout@zaclys.net> (raw)
In-Reply-To: <ddfb7d856c3a0a8868579d38206ff963d28df421.camel@free.fr>

From: John Doe <dftxbs3e@free.fr>

* gnu/packages/finance.scm (electrum): Update to 4.0.7.
[inputs]: Remove python-pyaes, python-pysocks, python-sip,
python-pbkdf2, python-requests, python-jsonrpclib-pelix and
python-ecdsa. Add python-bitstring, python-attrs, python-cryptography,
python-qdarkstyle and libsecp256k1.
[arguments]: Copy 'use-libsecp256k1-input phase from
(electron-cash) to #:phases to fix runtime lookup of libsecp256k1
library.
---
 gnu/packages/finance.scm | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 579e060d26..968ef70914 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -495,7 +495,7 @@ do so.")
 (define-public electrum
   (package
     (name "electrum")
-    (version "3.3.8")
+    (version "4.0.7")
     (source
      (origin
        (method url-fetch)
@@ -503,7 +503,7 @@ do so.")
                            version "/Electrum-"
                            version ".tar.gz"))
        (sha256
-        (base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
+        (base32 "0k5xf97ga3ixd02g1y6v84hbxd8yhvpj5iz2rhxs8wfnkfwibzh4"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -512,21 +512,19 @@ do so.")
            #t))))
     (build-system python-build-system)
     (inputs
-     `(("python-pyaes" ,python-pyaes)
-       ("python-pysocks" ,python-pysocks)
-       ("python-sip" ,python-sip)
-       ("python-pyqt" ,python-pyqt)
-       ("python-ecdsa" ,python-ecdsa)
-       ("python-pbkdf2" ,python-pbkdf2)
-       ("python-requests" ,python-requests)
+     `(("python-pyqt" ,python-pyqt)
        ("python-qrcode" ,python-qrcode)
        ("python-protobuf" ,python-protobuf)
        ("python-aiohttp" ,python-aiohttp)
        ("python-aiohttp-socks" ,python-aiohttp-socks)
        ("python-aiorpcx" ,python-aiorpcx)
        ("python-certifi" ,python-certifi)
+       ("python-bitstring" ,python-bitstring)
+       ("python-attrs" ,python-attrs)
+       ("python-cryptography" ,python-cryptography)
+       ("python-qdarkstyle" ,python-qdarkstyle)
        ("python-dnspython" ,python-dnspython)
-       ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
+       ("libsecp256k1" ,libsecp256k1)))
     (arguments
      `(#:tests? #f                      ; no tests
        #:phases
@@ -540,7 +538,14 @@ do so.")
                (substitute* "setup.py"
                  (("sys\\.prefix")
                   (format #f "\"~a\"" out)))
-               #t))))))
+               #t)))
+         (add-after 'unpack 'use-libsecp256k1-input
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "electrum/ecc_fast.py"
+               (("library_paths = .* 'libsecp256k1.so.0'.")
+                (string-append "library_paths = ('"
+                               (assoc-ref inputs "libsecp256k1")
+                               "/lib/libsecp256k1.so.0'"))))))))
     (home-page "https://electrum.org/")
     (synopsis "Bitcoin wallet")
     (description
-- 
2.29.2





  parent reply	other threads:[~2020-12-11 21:13 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 11:53 [bug#44990] [PATCH] gnu: electrum: Update to 4.0.5 dftxbs3e
2020-12-01 11:55 ` [bug#44990] [PATCH 1/8] gnu: Add python-qtpy dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 2/8] gnu: Add python-helpdev dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 3/8] gnu: Add python-qdarkstyle dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 4/8] gnu: Add python-bitstring dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 5/8] gnu: Add python-socks dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db dftxbs3e
2020-12-01 11:55   ` [bug#44990] [PATCH 8/8] gnu: electrum: Update to 4.0.5 dftxbs3e
2020-12-11 17:43 ` [bug#44990] [PATCH] " Ludovic Courtès
2020-12-11 19:53 ` [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 2/8] gnu: Add python-helpdev Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 3/8] gnu: Add python-qdarkstyle Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 4/8] gnu: Add python-bitstring Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 5/8] gnu: Add python-socks Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db Léo Le Bouter via Guix-patches via
2020-12-11 19:53   ` [bug#44990] [PATCH v2 8/8] gnu: electrum: Update to 4.0.7 Léo Le Bouter via Guix-patches via
2020-12-11 19:55 ` Léo Le Bouter via Guix-patches via [this message]
2020-12-11 20:00 ` [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy Léo Le Bouter via Guix-patches via
2020-12-11 20:00   ` [bug#44990] [PATCH v2 2/8] gnu: Add python-helpdev Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 3/8] gnu: Add python-qdarkstyle Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 4/8] gnu: Add python-bitstring Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 5/8] gnu: Add python-socks Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db Léo Le Bouter via Guix-patches via
2020-12-11 20:01   ` [bug#44990] [PATCH v2 8/8] gnu: electrum: Update to 4.0.7 Léo Le Bouter via Guix-patches via
2020-12-11 20:18 ` [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 2/8] gnu: Add python-helpdev John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 3/8] gnu: Add python-qdarkstyle John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 4/8] gnu: Add python-bitstring John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 5/8] gnu: Add python-socks John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db John Doe
2020-12-11 20:18   ` [bug#44990] [PATCH v2 8/8] gnu: electrum: Update to 4.0.7 John Doe
2020-12-21  8:18   ` [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy Efraim Flashner
2020-12-27 22:13     ` [bug#44990] [PATCH v3 0/8] gnu: electrum: Update to 4.0.9 John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 1/8] gnu: Add python-qtpy John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 2/8] gnu: Add python-helpdev John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 3/8] gnu: Add python-qdarkstyle John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 4/8] gnu: Add python-bitstring John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 5/8] gnu: Add python-socks John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db John Doe
2020-12-27 22:13       ` [bug#44990] [PATCH v3 8/8] gnu: electrum: Update to 4.0.9 John Doe
2020-12-27 22:26     ` [bug#44990] [PATCH v4 0/8] " John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 1/8] gnu: Add python-qtpy John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 2/8] gnu: Add python-helpdev John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 3/8] gnu: Add python-qdarkstyle John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 4/8] gnu: Add python-bitstring John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 5/8] gnu: Add python-socks John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 6/8] gnu: python-aiohttp-socks: Update to 0.5.5 John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db John Doe
2020-12-27 22:26       ` [bug#44990] [PATCH v4 8/8] gnu: electrum: Update to 4.0.9 John Doe
2020-12-28 11:25       ` bug#44990: [PATCH v4 0/8] " Efraim Flashner

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=20201211195552.21624-8-lle-bout@zaclys.net \
    --to=guix-patches@gnu.org \
    --cc=44990@debbugs.gnu.org \
    --cc=dftxbs3e@free.fr \
    --cc=lle-bout@zaclys.net \
    /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.