diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 0f43a8bf9d..e3b9a7c680 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -686,20 +686,16 @@ require Coincurve.") (define-public electrum (package (name "electrum") - (version "4.6.1") + (version "4.7.0") (source (origin - (method url-fetch) - (uri (string-append "https://download.electrum.org/" - version "/Electrum-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/spesmilo/electrum.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1h7z019sp99csrj1djmhlm9y7vyyzl7wvar7z9x4jx59lmmvs1xs")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Delete the bundled dependencies. - (delete-file-recursively "packages"))))) + (base32 "15rkinaknaw199wrqcknnjy8989z1hwdcb3b4pdfd24fzkppa1kv")))) (build-system pyproject-build-system) (arguments (list @@ -720,7 +716,7 @@ require Coincurve.") (add-before 'check 'set-home (lambda _ ; 3 tests run mkdir (setenv "HOME" "/tmp")))))) - (native-inputs (list python-pytest python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools)) (inputs (list electrum-aionostr python-aiohttp