GNU bug report logs - #44990
[PATCH] gnu: electrum: Update to 4.0.5.

Previous Next

Package: guix-patches;

Reported by: dftxbs3e <dftxbs3e <at> free.fr>

Date: Tue, 1 Dec 2020 11:54:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44990 in the body.
You can then email your comments to 44990 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to dftxbs3e <dftxbs3e <at> free.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 01 Dec 2020 11:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <dftxbs3e <at> free.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: electrum: Update to 4.0.5.
Date: Tue, 01 Dec 2020 12:53:21 +0100
Hello!

Third time.. sorry.

My biggest submission so far, please review carefully I can still count
my submissions with my hand.

Please strip the first mail from the mbox when using git-am. Because
debbugs wont allow git-send-email to work without creating one bug per
patch I am sending the first email with my regular email client to
obtain the dedicated address and then using git-send-email.

Thank you.





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:02 GMT) Full text and rfc822 format available.

Message #8 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 1/8] gnu: Add python-qtpy.
Date: Tue,  1 Dec 2020 12:55:09 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qtpy): New variable.
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1086d724f1..ad51498050 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23232,3 +23232,27 @@ process.")
      "Gamera is a toolkit for building document image recognition systems.")
     (home-page "https://gamera.informatik.hsnr.de/")
     (license license:gpl2+)))
+
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QtPy" version))
+        (sha256
+          (base32
+            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+      `(;; Not all supported bindings are packaged. Especially PyQt4.
+	#:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+      "Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (description
+      "Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 2/8] gnu: Add python-helpdev.
Date: Tue,  1 Dec 2020 12:55:10 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ad51498050..36373ae71c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23256,3 +23256,25 @@ process.")
     (description
       "Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
     (license license:expat)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "HelpDev - Extracts information about the Python environment easily.")
+    (description
+      "HelpDev - Extracts information about the Python environment easily.")
+    (license license:expat)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:03 GMT) Full text and rfc822 format available.

Message #14 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 3/8] gnu: Add python-qdarkstyle.
Date: Tue,  1 Dec 2020 12:55:11 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36373ae71c..758496d52f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23278,3 +23278,30 @@ process.")
     (description
       "HelpDev - Extracts information about the Python environment easily.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "The most complete dark stylesheet for Python and Qt applications")
+    (description
+      "The most complete dark stylesheet for Python and Qt applications")
+    (license license:expat)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:03 GMT) Full text and rfc822 format available.

Message #17 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 4/8] gnu: Add python-bitstring.
Date: Tue,  1 Dec 2020 12:55:12 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 758496d52f..3c170ebe3c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23305,3 +23305,23 @@ process.")
     (description
       "The most complete dark stylesheet for Python and Qt applications")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data.")
+    (description
+      "Simple construction, analysis and modification of binary data.")
+    (license license:expat)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:03 GMT) Full text and rfc822 format available.

Message #20 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 5/8] gnu: Add python-socks.
Date: Tue,  1 Dec 2020 12:55:13 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3c170ebe3c..feffad00b3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23325,3 +23325,29 @@ process.")
     (description
       "Simple construction, analysis and modification of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (license license:asl2.0)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:04 GMT) Full text and rfc822 format available.

Message #23 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Tue,  1 Dec 2020 12:55:14 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 107f579ad6..797d94f12a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -166,17 +166,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:04 GMT) Full text and rfc822 format available.

Message #26 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Tue,  1 Dec 2020 12:55:15 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Tue, 01 Dec 2020 11:56:05 GMT) Full text and rfc822 format available.

Message #29 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: dftxbs3e <at> free.fr
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH 8/8] gnu: electrum: Update to 4.0.5.
Date: Tue,  1 Dec 2020 12:55:16 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/finance.scm (electrum): Update to 4.0.5.
[inputs]: Remove.
[propagated-inputs]: Add python-pyqt, python-ecdsa, python-qrcode,
python-protobuf, python-aiohttp, python-aiohttp-socks, python-aiorpcx,
python-certifi, python-bitstring, python-attrs, python-cryptography,
python-qdarkstyle, python-dnspython and libsecp256k1.
[arguments]: Copy 'use-libsecp256k1-input phase from
(electron-cash) to #:phases to fix runtime lookup of libsecp256k1
library.
---
 gnu/packages/finance.scm | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index a79c70d1e0..e7b83eec20 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -493,7 +493,7 @@ do so.")
 (define-public electrum
   (package
     (name "electrum")
-    (version "3.3.8")
+    (version "4.0.5")
     (source
      (origin
        (method url-fetch)
@@ -501,7 +501,7 @@ do so.")
                            version "/Electrum-"
                            version ".tar.gz"))
        (sha256
-        (base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
+        (base32 "06ml9lwa5k2dp56sm5s7dsl6qirqmgim7rn853cqcq9n45z41437"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -509,22 +509,21 @@ do so.")
            (delete-file-recursively "packages")
            #t))))
     (build-system python-build-system)
-    (inputs
-     `(("python-pyaes" ,python-pyaes)
-       ("python-pysocks" ,python-pysocks)
-       ("python-sip" ,python-sip)
-       ("python-pyqt" ,python-pyqt)
+    (propagated-inputs
+     `(("python-pyqt" ,python-pyqt)
        ("python-ecdsa" ,python-ecdsa)
-       ("python-pbkdf2" ,python-pbkdf2)
-       ("python-requests" ,python-requests)
        ("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
@@ -538,7 +537,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.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 17:44:02 GMT) Full text and rfc822 format available.

Message #32 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: dftxbs3e <dftxbs3e <at> free.fr>
Cc: 44990 <at> debbugs.gnu.org
Subject: Re: [bug#44990] [PATCH] gnu: electrum: Update to 4.0.5.
Date: Fri, 11 Dec 2020 18:43:42 +0100
Hi!

dftxbs3e <dftxbs3e <at> free.fr> skribis:

> Third time.. sorry.
>
> My biggest submission so far, please review carefully I can still count
> my submissions with my hand.
>
> Please strip the first mail from the mbox when using git-am. Because
> debbugs wont allow git-send-email to work without creating one bug per
> patch I am sending the first email with my regular email client to
> obtain the dedicated address and then using git-send-email.

Yeah, the (annoying) trick is to send the cover letter, get the number,
and then send the actual series:

  https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html

Overall the series LGTM.  A couple of comments:

  1. Could you please improve synopses and suggestions a bit, according
     to the guidelines at
     <https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html>,
     and wrap lines to 80 chars?  Don’t lose your hair on it but at
     least make sure to have full sentences in descriptions and so on.

  2. The last patch moves a large chunks of eletrum ‘inputs’ to
     ‘propagated-inputs’.  If you are sure this is justified, please add
     a comment right above the ‘propagated-inputs’ field explaining
     why.  However, it may not be a good idea to propagate that much as
     it “pollutes” the profile of users who install ‘electrum’, can lead
     to collisions, etc.

Could you send a v2?

Thanks!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:19:02 GMT) Full text and rfc822 format available.

Message #35 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 1/8] gnu: Add python-qtpy.
Date: Fri, 11 Dec 2020 21:18:26 +0100
* gnu/packages/python-xyz.scm (python-qtpy): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d312e3172a..a92898c7f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23222,3 +23222,28 @@ process.")
      "Gamera is a toolkit for building document image recognition systems.")
     (home-page "https://gamera.informatik.hsnr.de/")
     (license license:gpl2+)))
+
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QtPy" version))
+        (sha256
+          (base32
+            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+      `(;; Not all supported bindings are packaged. Especially PyQt4.
+	#:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
+    (description
+     "Provides an abstraction layer on top of the various Qt bindings
+(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:02 GMT) Full text and rfc822 format available.

Message #38 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 2/8] gnu: Add python-helpdev.
Date: Fri, 11 Dec 2020 21:18:27 +0100
* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a92898c7f0..c3e55f5aff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23247,3 +23247,26 @@ process.")
      "Provides an abstraction layer on top of the various Qt bindings
 (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
     (license license:expat)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "Extracts information about the Python environment easily")
+    (description
+      "Helpdev is a library to easily extract information about the Python
+environment.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:03 GMT) Full text and rfc822 format available.

Message #41 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 3/8] gnu: Add python-qdarkstyle.
Date: Fri, 11 Dec 2020 21:18:28 +0100
* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3e55f5aff..c3591f53b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23270,3 +23270,30 @@ process.")
       "Helpdev is a library to easily extract information about the Python
 environment.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "Complete dark stylesheet for Python and Qt applications")
+    (description
+      "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:03 GMT) Full text and rfc822 format available.

Message #44 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 4/8] gnu: Add python-bitstring.
Date: Fri, 11 Dec 2020 21:18:29 +0100
* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3591f53b4..4f55ed2e83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23297,3 +23297,24 @@ environment.")
     (description
       "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data")
+    (description
+      "Bitstring is a library for simple construction, analysis and modification
+ of binary data.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:03 GMT) Full text and rfc822 format available.

Message #47 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 5/8] gnu: Add python-socks.
Date: Fri, 11 Dec 2020 21:18:30 +0100
* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4f55ed2e83..426c2b853d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23318,3 +23318,30 @@ environment.")
       "Bitstring is a library for simple construction, analysis and modification
  of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+    (license license:asl2.0)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:04 GMT) Full text and rfc822 format available.

Message #50 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Fri, 11 Dec 2020 21:18:31 +0100
* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 107f579ad6..797d94f12a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -166,17 +166,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:04 GMT) Full text and rfc822 format available.

Message #53 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Fri, 11 Dec 2020 21:18:32 +0100
* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:20:05 GMT) Full text and rfc822 format available.

Message #56 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 8/8] gnu: electrum: Update to 4.0.7.
Date: Fri, 11 Dec 2020 21:18:33 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:02 GMT) Full text and rfc822 format available.

Message #59 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 1/8] gnu: Add python-qtpy.
Date: Fri, 11 Dec 2020 20:53:24 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qtpy): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d312e3172a..a92898c7f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23222,3 +23222,28 @@ process.")
      "Gamera is a toolkit for building document image recognition systems.")
     (home-page "https://gamera.informatik.hsnr.de/")
     (license license:gpl2+)))
+
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QtPy" version))
+        (sha256
+          (base32
+            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+      `(;; Not all supported bindings are packaged. Especially PyQt4.
+	#:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
+    (description
+     "Provides an abstraction layer on top of the various Qt bindings
+(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:03 GMT) Full text and rfc822 format available.

Message #62 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 2/8] gnu: Add python-helpdev.
Date: Fri, 11 Dec 2020 20:53:25 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a92898c7f0..c3e55f5aff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23247,3 +23247,26 @@ process.")
      "Provides an abstraction layer on top of the various Qt bindings
 (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
     (license license:expat)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "Extracts information about the Python environment easily")
+    (description
+      "Helpdev is a library to easily extract information about the Python
+environment.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:03 GMT) Full text and rfc822 format available.

Message #65 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 3/8] gnu: Add python-qdarkstyle.
Date: Fri, 11 Dec 2020 20:53:26 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3e55f5aff..c3591f53b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23270,3 +23270,30 @@ process.")
       "Helpdev is a library to easily extract information about the Python
 environment.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "Complete dark stylesheet for Python and Qt applications")
+    (description
+      "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:04 GMT) Full text and rfc822 format available.

Message #68 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 4/8] gnu: Add python-bitstring.
Date: Fri, 11 Dec 2020 20:53:27 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3591f53b4..4f55ed2e83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23297,3 +23297,24 @@ environment.")
     (description
       "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data")
+    (description
+      "Bitstring is a library for simple construction, analysis and modification
+ of binary data.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:05 GMT) Full text and rfc822 format available.

Message #71 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 5/8] gnu: Add python-socks.
Date: Fri, 11 Dec 2020 20:53:28 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4f55ed2e83..426c2b853d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23318,3 +23318,30 @@ environment.")
       "Bitstring is a library for simple construction, analysis and modification
  of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+    (license license:asl2.0)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:05 GMT) Full text and rfc822 format available.

Message #74 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Fri, 11 Dec 2020 20:53:29 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 107f579ad6..797d94f12a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -166,17 +166,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:06 GMT) Full text and rfc822 format available.

Message #77 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Fri, 11 Dec 2020 20:53:30 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:06 GMT) Full text and rfc822 format available.

Message #80 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 8/8] gnu: electrum: Update to 4.0.7.
Date: Fri, 11 Dec 2020 20:53:31 +0100
From: John Doe <dftxbs3e <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:06 GMT) Full text and rfc822 format available.

Message #83 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Cc: John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v2 8/8] gnu: electrum: Update to 4.0.7.
Date: Fri, 11 Dec 2020 20:55:52 +0100
From: John Doe <dftxbs3e <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:07 GMT) Full text and rfc822 format available.

Message #86 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 2/8] gnu: Add python-helpdev.
Date: Fri, 11 Dec 2020 21:00:59 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a92898c7f0..c3e55f5aff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23247,3 +23247,26 @@ process.")
      "Provides an abstraction layer on top of the various Qt bindings
 (PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
     (license license:expat)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "Extracts information about the Python environment easily")
+    (description
+      "Helpdev is a library to easily extract information about the Python
+environment.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:07 GMT) Full text and rfc822 format available.

Message #89 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 1/8] gnu: Add python-qtpy.
Date: Fri, 11 Dec 2020 21:00:58 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qtpy): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d312e3172a..a92898c7f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23222,3 +23222,28 @@ process.")
      "Gamera is a toolkit for building document image recognition systems.")
     (home-page "https://gamera.informatik.hsnr.de/")
     (license license:gpl2+)))
+
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QtPy" version))
+        (sha256
+          (base32
+            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+      `(;; Not all supported bindings are packaged. Especially PyQt4.
+	#:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
+    (description
+     "Provides an abstraction layer on top of the various Qt bindings
+(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:08 GMT) Full text and rfc822 format available.

Message #92 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 3/8] gnu: Add python-qdarkstyle.
Date: Fri, 11 Dec 2020 21:01:00 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3e55f5aff..c3591f53b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23270,3 +23270,30 @@ process.")
       "Helpdev is a library to easily extract information about the Python
 environment.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "Complete dark stylesheet for Python and Qt applications")
+    (description
+      "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:08 GMT) Full text and rfc822 format available.

Message #95 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 4/8] gnu: Add python-bitstring.
Date: Fri, 11 Dec 2020 21:01:01 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3591f53b4..4f55ed2e83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23297,3 +23297,24 @@ environment.")
     (description
       "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data")
+    (description
+      "Bitstring is a library for simple construction, analysis and modification
+ of binary data.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:09 GMT) Full text and rfc822 format available.

Message #98 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 5/8] gnu: Add python-socks.
Date: Fri, 11 Dec 2020 21:01:02 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4f55ed2e83..426c2b853d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23318,3 +23318,30 @@ environment.")
       "Bitstring is a library for simple construction, analysis and modification
  of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+    (license license:asl2.0)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:09 GMT) Full text and rfc822 format available.

Message #101 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Fri, 11 Dec 2020 21:01:03 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 107f579ad6..797d94f12a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -166,17 +166,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:10 GMT) Full text and rfc822 format available.

Message #104 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Fri, 11 Dec 2020 21:01:04 +0100
From: John Doe <dftxbs3e <at> free.fr>

* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Fri, 11 Dec 2020 20:38:10 GMT) Full text and rfc822 format available.

Message #107 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 44990 <at> debbugs.gnu.org
Subject: [PATCH v2 8/8] gnu: electrum: Update to 4.0.7.
Date: Fri, 11 Dec 2020 21:01:05 +0100
From: John Doe <dftxbs3e <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Mon, 21 Dec 2020 08:19:01 GMT) Full text and rfc822 format available.

Message #110 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: John Doe <dftxbs3e <at> free.fr>
Cc: 44990 <at> debbugs.gnu.org
Subject: Re: [bug#44990] [PATCH v2 1/8] gnu: Add python-qtpy.
Date: Mon, 21 Dec 2020 10:18:13 +0200
[Message part 1 (text/plain, inline)]
On Fri, Dec 11, 2020 at 09:18:26PM +0100, John Doe wrote:
> * gnu/packages/python-xyz.scm (python-qtpy): New variable.
> ---
>  gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

I would put this in gnu/packages/qt actually

> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index d312e3172a..a92898c7f0 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -23222,3 +23222,28 @@ process.")
>       "Gamera is a toolkit for building document image recognition systems.")
>      (home-page "https://gamera.informatik.hsnr.de/")
>      (license license:gpl2+)))
> +
> +(define-public python-qtpy
> +  (package
> +    (name "python-qtpy")
> +    (version "1.9.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "QtPy" version))
> +        (sha256
> +          (base32
> +            "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +      `(("python-pyside2" ,python-pyside-2)))
> +    (arguments
> +      `(;; Not all supported bindings are packaged. Especially PyQt4.
> +	#:tests? #f))
> +    (home-page "https://github.com/spyder-ide/qtpy")
> +    (synopsis
> +     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
> +    (description
> +     "Provides an abstraction layer on top of the various Qt bindings
> +(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
> +    (license license:expat)))
> -- 
> 2.29.2
> 

I tried a bit to get the tests working. It looks like python-pyside-2
should propagate python-shiboken, and I forgot about
python-pyqtwebengine, which looks like it's necessary to run the tests.
I haven't looked at the other patches yet, but I wonder how useful this
package is with just python-pyside-2 as an input.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:02 GMT) Full text and rfc822 format available.

Message #113 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 0/8] gnu: electrum: Update to 4.0.9.
Date: Sun, 27 Dec 2020 23:13:25 +0100
Rebased on master, updated to 4.0.9 electrum release and moved
python-qtpy to gnu/packages/qt.scm as requested!

I suggest we merge this and later patch the newly added packages so that
the electrum update is available. Nothing else but electrum uses these
packages for now, and electrum works.

John Doe (8):
  gnu: Add python-qtpy.
  gnu: Add python-helpdev.
  gnu: Add python-qdarkstyle.
  gnu: Add python-bitstring.
  gnu: Add python-socks.
  gnu: python-aiohttp-socks: Update to 0.5.5.
  gnu: libsecp256k1: Update to 20200615-1-dbd41db.
  gnu: electrum: Update to 4.0.9.

 gnu/packages/crypto.scm     | 11 +++--
 gnu/packages/finance.scm    | 27 +++++-----
 gnu/packages/python-web.scm |  8 +--
 gnu/packages/python-xyz.scm | 98 +++++++++++++++++++++++++++++++++++++
 gnu/packages/qt.scm         | 25 ++++++++++
 5 files changed, 152 insertions(+), 17 deletions(-)

-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:03 GMT) Full text and rfc822 format available.

Message #116 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 1/8] gnu: Add python-qtpy.
Date: Sun, 27 Dec 2020 23:13:26 +0100
* gnu/packages/qt.scm (python-qtpy): New variable.
---
 gnu/packages/qt.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 2e621e758c..9a5b329f4d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2268,6 +2268,31 @@ itself.")
                        "--sipdir" sip)))))))
     (license (list license:gpl2 license:gpl3)))) ; choice of either license
 
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "QtPy" version))
+       (sha256
+          (base32
+           "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+     `(;; Not all supported bindings are packaged. Especially PyQt4.
+       #:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
+    (description
+     "Provides an abstraction layer on top of the various Qt bindings
+(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
+
 (define-public qscintilla
   (package
     (name "qscintilla")
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:03 GMT) Full text and rfc822 format available.

Message #119 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 2/8] gnu: Add python-helpdev.
Date: Sun, 27 Dec 2020 23:13:27 +0100
* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acde5a5e5e..47edaabc0c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23201,3 +23201,26 @@ backport of the @code{dataclasses} module for Python 3.6.")
     (description "@code{python-pywatchman} is a library to connect and
 query Watchman to discover file changes.")
     (license license:bsd-3)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "Extracts information about the Python environment easily")
+    (description
+      "Helpdev is a library to easily extract information about the Python
+environment.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:04 GMT) Full text and rfc822 format available.

Message #122 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 3/8] gnu: Add python-qdarkstyle.
Date: Sun, 27 Dec 2020 23:13:28 +0100
* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47edaabc0c..2df26dffbf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23224,3 +23224,30 @@ query Watchman to discover file changes.")
       "Helpdev is a library to easily extract information about the Python
 environment.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "Complete dark stylesheet for Python and Qt applications")
+    (description
+      "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:04 GMT) Full text and rfc822 format available.

Message #125 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 4/8] gnu: Add python-bitstring.
Date: Sun, 27 Dec 2020 23:13:29 +0100
* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2df26dffbf..b06f6011de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23251,3 +23251,24 @@ environment.")
     (description
       "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data")
+    (description
+      "Bitstring is a library for simple construction, analysis and modification
+ of binary data.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:05 GMT) Full text and rfc822 format available.

Message #128 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 5/8] gnu: Add python-socks.
Date: Sun, 27 Dec 2020 23:13:30 +0100
* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b06f6011de..93e0292b28 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23272,3 +23272,30 @@ environment.")
       "Bitstring is a library for simple construction, analysis and modification
  of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+    (license license:asl2.0)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:15:05 GMT) Full text and rfc822 format available.

Message #131 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Sun, 27 Dec 2020 23:13:31 +0100
* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bdde4d90f4..0f1a6dec44 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -167,17 +167,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:16:02 GMT) Full text and rfc822 format available.

Message #134 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Sun, 27 Dec 2020 23:13:32 +0100
* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:16:02 GMT) Full text and rfc822 format available.

Message #137 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v3 8/8] gnu: electrum: Update to 4.0.9.
Date: Sun, 27 Dec 2020 23:13:33 +0100
* gnu/packages/finance.scm (electrum): Update to 4.0.9.
[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 c7a606f3b2..f2c15d930b 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.9")
     (source
      (origin
        (method url-fetch)
@@ -503,7 +503,7 @@ do so.")
                            version "/Electrum-"
                            version ".tar.gz"))
        (sha256
-        (base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
+        (base32 "1fvjiagi78f32nxgr2rx8jas8hxfvpp1c8fpfcalvykmlhdc2gva"))
        (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-1.16)
-       ("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





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:02 GMT) Full text and rfc822 format available.

Message #140 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 0/8] gnu: electrum: Update to 4.0.9.
Date: Sun, 27 Dec 2020 23:26:45 +0100
Sorry sending a new revision so fast, missed a mistake.

electrum >=4.0.7 requires python-dnspython >=2

John Doe (8):
  gnu: Add python-qtpy.
  gnu: Add python-helpdev.
  gnu: Add python-qdarkstyle.
  gnu: Add python-bitstring.
  gnu: Add python-socks.
  gnu: python-aiohttp-socks: Update to 0.5.5.
  gnu: libsecp256k1: Update to 20200615-1-dbd41db.
  gnu: electrum: Update to 4.0.9.

 gnu/packages/crypto.scm     | 11 +++--
 gnu/packages/finance.scm    | 29 ++++++-----
 gnu/packages/python-web.scm |  8 +--
 gnu/packages/python-xyz.scm | 98 +++++++++++++++++++++++++++++++++++++
 gnu/packages/qt.scm         | 25 ++++++++++
 5 files changed, 153 insertions(+), 18 deletions(-)

-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:02 GMT) Full text and rfc822 format available.

Message #143 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 1/8] gnu: Add python-qtpy.
Date: Sun, 27 Dec 2020 23:26:46 +0100
* gnu/packages/qt.scm (python-qtpy): New variable.
---
 gnu/packages/qt.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 2e621e758c..9a5b329f4d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2268,6 +2268,31 @@ itself.")
                        "--sipdir" sip)))))))
     (license (list license:gpl2 license:gpl3)))) ; choice of either license
 
+(define-public python-qtpy
+  (package
+    (name "python-qtpy")
+    (version "1.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "QtPy" version))
+       (sha256
+          (base32
+           "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyside2" ,python-pyside-2)))
+    (arguments
+     `(;; Not all supported bindings are packaged. Especially PyQt4.
+       #:tests? #f))
+    (home-page "https://github.com/spyder-ide/qtpy")
+    (synopsis
+     "Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
+    (description
+     "Provides an abstraction layer on top of the various Qt bindings
+(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
+    (license license:expat)))
+
 (define-public qscintilla
   (package
     (name "qscintilla")
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:03 GMT) Full text and rfc822 format available.

Message #146 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 2/8] gnu: Add python-helpdev.
Date: Sun, 27 Dec 2020 23:26:47 +0100
* gnu/packages/python-xyz.scm (python-helpdev): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acde5a5e5e..47edaabc0c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23201,3 +23201,26 @@ backport of the @code{dataclasses} module for Python 3.6.")
     (description "@code{python-pywatchman} is a library to connect and
 query Watchman to discover file changes.")
     (license license:bsd-3)))
+
+(define-public python-helpdev
+  (package
+    (name "python-helpdev")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "helpdev" version))
+        (sha256
+          (base32
+            "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-importlib-metadata"
+         ,python-importlib-metadata)))
+    (home-page "https://gitlab.com/dpizetta/helpdev")
+    (synopsis
+      "Extracts information about the Python environment easily")
+    (description
+      "Helpdev is a library to easily extract information about the Python
+environment.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:03 GMT) Full text and rfc822 format available.

Message #149 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 3/8] gnu: Add python-qdarkstyle.
Date: Sun, 27 Dec 2020 23:26:48 +0100
* gnu/packages/python-xyz.scm (python-qdarkstyle): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47edaabc0c..2df26dffbf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23224,3 +23224,30 @@ query Watchman to discover file changes.")
       "Helpdev is a library to easily extract information about the Python
 environment.")
     (license license:expat)))
+
+(define-public python-qdarkstyle
+  (package
+    (name "python-qdarkstyle")
+    (version "2.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "QDarkStyle" version))
+        (sha256
+          (base32
+            "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
+    (build-system python-build-system)
+    (arguments
+      `(;; Fails unable to detect valid Qt bindings even if you
+	;; add them as native-inputs.
+	#:tests? #f))
+    (propagated-inputs
+      `(("python-helpdev" ,python-helpdev)
+        ("python-qtpy" ,python-qtpy)))
+    (home-page
+      "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+    (synopsis
+      "Complete dark stylesheet for Python and Qt applications")
+    (description
+      "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:04 GMT) Full text and rfc822 format available.

Message #152 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 4/8] gnu: Add python-bitstring.
Date: Sun, 27 Dec 2020 23:26:49 +0100
* gnu/packages/python-xyz.scm (python-bitstring): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2df26dffbf..b06f6011de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23251,3 +23251,24 @@ environment.")
     (description
       "QDarkStyle is the most complete dark stylesheet for Python and Qt applications.")
     (license license:expat)))
+
+(define-public python-bitstring
+  (package
+    (name "python-bitstring")
+    (version "3.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bitstring" version))
+        (sha256
+          (base32
+            "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/scott-griffiths/bitstring")
+    (synopsis
+      "Simple construction, analysis and modification of binary data")
+    (description
+      "Bitstring is a library for simple construction, analysis and modification
+ of binary data.")
+    (license license:expat)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:04 GMT) Full text and rfc822 format available.

Message #155 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 5/8] gnu: Add python-socks.
Date: Sun, 27 Dec 2020 23:26:50 +0100
* gnu/packages/python-xyz.scm (python-socks): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b06f6011de..93e0292b28 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23272,3 +23272,30 @@ environment.")
       "Bitstring is a library for simple construction, analysis and modification
  of binary data.")
     (license license:expat)))
+
+(define-public python-socks
+  (package
+    (name "python-socks")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-socks" version))
+        (sha256
+          (base32
+            "1y9sp0hijywjrqwpjgpq3yjmfm6s0rj1br19xm77ffk72w5pdr26"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      ;; For python-socks[asyncio]
+      `(("python-async-timeout" ,python-async-timeout)))
+    (native-inputs
+      `(("python-trio" ,python-trio)
+	("python-curio" ,python-curio)))
+    (home-page
+      "https://github.com/romis2012/python-socks")
+    (synopsis
+      "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+    (description
+      "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+    (license license:asl2.0)))
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:05 GMT) Full text and rfc822 format available.

Message #158 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 6/8] gnu: python-aiohttp-socks: Update to 0.5.5.
Date: Sun, 27 Dec 2020 23:26:51 +0100
* gnu/packages/python-web.scm (python-aiohttp-socks):
[version]: Bump to 0.5.5.
[propagated-inputs]: Add python-socks, python-attrs.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bdde4d90f4..0f1a6dec44 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -167,17 +167,19 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.2.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf"))))
+         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)))
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-attrs" ,python-attrs)
+       ("python-socks" ,python-socks)))
     (home-page "https://github.com/romis2012/aiohttp-socks")
     (synopsis "SOCKS proxy connector for aiohttp")
     (description "This package provides a SOCKS proxy connector for
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:05 GMT) Full text and rfc822 format available.

Message #161 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 7/8] gnu: libsecp256k1: Update to 20200615-1-dbd41db.
Date: Sun, 27 Dec 2020 23:26:52 +0100
* gnu/packages/crypto.scm (libsecp256k1):
[commit]: Set to "dbd41db16a0e91b2566820898a3ab2d7dad4fe00".
[version]: Bump to 20200615-1-dbd41db.
[arguments]: Add "--enable-module-recovery",
"--enable-experimental", "--enable-module-ecdh" and
"--enable-shared" to #:configure-flags.
---
 gnu/packages/crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1b51366d7e..f0fc1ec5a3 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1028,10 +1028,10 @@ trivial to build for local use.  Portability is emphasized over performance.")
     (license license:unlicense)))
 
 (define-public libsecp256k1
-  (let ((commit "d644dda5c9dbdecee52d1aa259235510fdc2d4ee"))
+  (let ((commit "dbd41db16a0e91b2566820898a3ab2d7dad4fe00"))
     (package
       (name "libsecp256k1")
-      (version (git-version "20191213" "1" commit))
+      (version (git-version "20200615" "1" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1039,9 +1039,14 @@ trivial to build for local use.  Portability is emphasized over performance.")
                       (commit commit)))
                 (sha256
                  (base32
-                  "0zmx32746khsm2cx0p3pdy3j2vkwmafvf7axiixijhgcg0xjv93i"))
+                  "1fcpnksq5cqwqzshn5f0lq94b73p3frwbp04hgmmbnrndpqg6mpy"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
+      (arguments
+	'(#:configure-flags '("--enable-module-recovery"
+			      "--enable-experimental"
+			      "--enable-module-ecdh"
+			      "--enable-shared")))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)
-- 
2.29.2





Information forwarded to guix-patches <at> gnu.org:
bug#44990; Package guix-patches. (Sun, 27 Dec 2020 22:28:05 GMT) Full text and rfc822 format available.

Message #164 received at 44990 <at> debbugs.gnu.org (full text, mbox):

From: John Doe <dftxbs3e <at> free.fr>
To: efraim <at> flashner.co.il
Cc: 44990 <at> debbugs.gnu.org, John Doe <dftxbs3e <at> free.fr>
Subject: [PATCH v4 8/8] gnu: electrum: Update to 4.0.9.
Date: Sun, 27 Dec 2020 23:26:53 +0100
* gnu/packages/finance.scm (electrum): Update to 4.0.9.
[inputs]: Remove python-pyaes, python-pysocks, python-sip,
python-pbkdf2, python-requests, python-jsonrpclib-pelix and
python-ecdsa, python-dnspython-1.16. Add python-dnspython,
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 | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c7a606f3b2..b6921d343f 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.9")
     (source
      (origin
        (method url-fetch)
@@ -503,7 +503,7 @@ do so.")
                            version "/Electrum-"
                            version ".tar.gz"))
        (sha256
-        (base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
+        (base32 "1fvjiagi78f32nxgr2rx8jas8hxfvpp1c8fpfcalvykmlhdc2gva"))
        (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-dnspython" ,python-dnspython-1.16)
-       ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
+       ("python-bitstring" ,python-bitstring)
+       ("python-attrs" ,python-attrs)
+       ("python-cryptography" ,python-cryptography)
+       ("python-qdarkstyle" ,python-qdarkstyle)
+       ("python-dnspython" ,python-dnspython)
+       ("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





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Mon, 28 Dec 2020 11:27:02 GMT) Full text and rfc822 format available.

Notification sent to dftxbs3e <dftxbs3e <at> free.fr>:
bug acknowledged by developer. (Mon, 28 Dec 2020 11:27:02 GMT) Full text and rfc822 format available.

Message #169 received at 44990-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: John Doe <dftxbs3e <at> free.fr>
Cc: 44990-done <at> debbugs.gnu.org
Subject: Re: [PATCH v4 0/8] gnu: electrum: Update to 4.0.9.
Date: Mon, 28 Dec 2020 13:25:36 +0200
[Message part 1 (text/plain, inline)]
There were a couple of tabs which I changed to spaces and I also moved
python-socks to python-web. I followed up with enabling the test suites
on python-bitstring and python-helpdev.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Jan 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.