From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CDjUDm8vxl/CQgAA0tVLHw (envelope-from ) for ; Tue, 01 Dec 2020 11:56:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mUuSCm8vxl+WMQAAbx9fmQ (envelope-from ) for ; Tue, 01 Dec 2020 11:56:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DA027940253 for ; Tue, 1 Dec 2020 11:56:29 +0000 (UTC) Received: from localhost ([::1]:38282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk4Gi-0005ol-Sh for larch@yhetil.org; Tue, 01 Dec 2020 06:56:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk4GL-0005En-DO for guix-patches@gnu.org; Tue, 01 Dec 2020 06:56:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk4GL-0007Sg-5k for guix-patches@gnu.org; Tue, 01 Dec 2020 06:56:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kk4GL-00049M-4W for guix-patches@gnu.org; Tue, 01 Dec 2020 06:56:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44990] [PATCH 8/8] gnu: electrum: Update to 4.0.5. Resent-From: dftxbs3e@free.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Dec 2020 11:56:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44990@debbugs.gnu.org Cc: John Doe Received: via spool by 44990-submit@debbugs.gnu.org id=B44990.160682374415875 (code B ref 44990); Tue, 01 Dec 2020 11:56:05 +0000 Received: (at 44990) by debbugs.gnu.org; 1 Dec 2020 11:55:44 +0000 Received: from localhost ([127.0.0.1]:58158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk4G0-00047u-2r for submit@debbugs.gnu.org; Tue, 01 Dec 2020 06:55:44 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:7104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk4Fw-000471-8u for 44990@debbugs.gnu.org; Tue, 01 Dec 2020 06:55:41 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:9527:5c74:ee6c:113c]) by smtp4-g21.free.fr (Postfix) with ESMTP id 963E819F57E; Tue, 1 Dec 2020 12:55:37 +0100 (CET) From: dftxbs3e@free.fr Date: Tue, 1 Dec 2020 12:55:16 +0100 Message-Id: <20201201115516.265593-8-dftxbs3e@free.fr> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201201115516.265593-1-dftxbs3e@free.fr> References: <20201201115516.265593-1-dftxbs3e@free.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 5.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DA027940253 X-Spam-Score: 5.49 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: hTDP5FdEL3N1 From: John Doe * 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