From d3d2881acf4f3efef61a4049ea4c7c3ba883f48c Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Thu, 3 Mar 2022 11:58:02 +0100 Subject: gnu: trezor-agent: Fix it by deleting the sanity-check phase. * gnu/packages/finance.scm (trezor-agent)[arguments]: Delete 'sanity-check' phase. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/finance.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9f2d055048..9b6e801c9c 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1156,6 +1156,9 @@ the KeepKey Hardware Wallet.") (arguments `(#:phases (modify-phases %standard-phases + ;; This package only has a Python script, not a Python module, so the + ;; sanity-check phase can't work. + (delete 'sanity-check) (add-after 'wrap 'fixup-agent-py (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))) -- cgit v1.2.3 From 6be6ea42768eae33b6ca0c9d1d713a0466a87567 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 16 Apr 2022 11:12:17 +0200 Subject: gnu: electron-cash: Update to 4.2.7. * gnu/packages/finance.scm (electron-cash): Update to 4.2.7. --- gnu/packages/finance.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9b6e801c9c..8be33527e6 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2018 Adriano Peluso ;;; Copyright © 2018, 2019, 2020, 2021 Nicolas Goaziou ;;; Copyright © 2018 Arun Isaac -;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant +;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019, 2020 Martin Becze ;;; Copyright © 2019 Sebastian Schott @@ -582,7 +582,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (define-public electron-cash (package (name "electron-cash") - (version "4.2.6") + (version "4.2.7") (source (origin (method git-fetch) @@ -591,7 +591,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "193krlnski9wjyfjkxfp4gcs7dgmqkwxgsy2m8x1515vb5bzv5pz")))) + (base32 "1qiql2svjyxlgbg4c5b7grgsv8nx2cx33x3x13mvjjngjz3vgilv")))) (build-system python-build-system) (inputs `(("libevent" ,libevent) -- cgit v1.2.3 From 4bd3fdda63c45bdaf38dfdb5fba64a3ed2ce63dd Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 16 Apr 2022 11:26:48 +0200 Subject: gnu: electrum: Update to 4.2.1. * gnu/packages/finance.scm (electrum): Update to 4.2.1. [inputs]: Replace python-aiorpcx-0.18 by python-aiorpcx. Add zbar. --- gnu/packages/finance.scm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 8be33527e6..9d8f7e3b15 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -508,7 +508,7 @@ do so.") (define-public electrum (package (name "electrum") - (version "4.1.5") + (version "4.2.1") (source (origin (method url-fetch) @@ -516,7 +516,7 @@ do so.") version "/Electrum-" version ".tar.gz")) (sha256 - (base32 "188r4zji985z8pm9b942xhmvv174yndk6jxagxl7ljk03wl2wiwi")) + (base32 "0w41411zq07kx0351wxkmpn0wr42wd2nx0m6v0iwvpsggx654b6r")) (modules '((guix build utils))) (snippet '(begin @@ -525,22 +525,23 @@ do so.") #t)))) (build-system python-build-system) (inputs - (list python-pyqt - python-qrcode - python-protobuf + (list libsecp256k1 python-aiohttp python-aiohttp-socks - python-aiorpcx-0.18 - python-certifi - python-bitstring + python-aiorpcx python-attrs + python-bitstring + python-btchip-python + python-certifi python-cryptography - python-qdarkstyle python-dnspython python-hidapi python-ledgerblue - python-btchip-python - libsecp256k1)) + python-protobuf + python-pyqt + python-qdarkstyle + python-qrcode + zbar)) (arguments `(#:tests? #f ; no tests #:phases -- cgit v1.2.3 From 7eb9176a6e5b116bc244a08ddd72d15cfeeb3ba0 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 16 Apr 2022 11:49:48 +0200 Subject: gnu: bitcoin-unlimited: Update to 1.10.0.0. * gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.10.0.0. [arguments]: Update 'fix-tests' phase. --- gnu/packages/finance.scm | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9d8f7e3b15..84547639e4 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1524,7 +1524,7 @@ following three utilities are included with the library: (define-public bitcoin-unlimited (package (name "bitcoin-unlimited") - (version "1.9.2.0") + (version "1.10.0.0") (source (origin (method git-fetch) @@ -1533,7 +1533,7 @@ following three utilities are included with the library: (commit (string-append "BCHunlimited" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1cmrvh7azz0g89rsx6i8apd1li6r1lb3jrmbbf8fic1918lwv62m")))) + (base32 "12yb2rbd6hsns43qyxc5dm7h5k4sph9sb64q7kkbqi3xhgrrsjdq")))) (build-system gnu-build-system) (native-inputs (list autoconf @@ -1574,30 +1574,17 @@ following three utilities are included with the library: (modify-phases %standard-phases (add-after 'unpack 'fix-tests (lambda _ - ;; Fix data specific test failure - ;; https://reviews.bitcoinabc.org/rABC67bbd3d0aaee2952ff1cb5da51d1fd0b50c2b63a - (substitute* "src/test/rpc_tests.cpp" - (("1607731200") "9907731200")) - ;; Disable utilprocess_tests because it never ends. ;; It looks like it tries to start /bin/sleep and waits until it ;; is in the list of running processes, but /bin/sleep doesn't ;; exist. (substitute* "src/Makefile.test.include" (("test/utilprocess_tests.cpp") - "")) - - ;; Some transaction validation rules have changed (see upstream - ;; commit f208400825d4641b9310a1fba023d56e0862e3b0), which makes - ;; a test fail. Disable it for now. - ;; TODO: Remove this when the next version is released. - (substitute* "src/Makefile.test.include" - (("test/txvalidationcache_tests.cpp") "")))) (add-before 'check 'set-home (lambda _ - (setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME - #t))))) + ;; Tests write to $HOME + (setenv "HOME" (getenv "TMPDIR"))))))) (home-page "https://www.bitcoinunlimited.info/") (synopsis "Client for the Bitcoin Cash protocol") (description -- cgit v1.2.3 From 5ca029d0c42cff1fd0103fac86052439c4a18206 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 20 Apr 2022 19:41:13 -0300 Subject: gnu: homebank: Update to 5.5.5. * gnu/packages/finance.scm (homebank): Update to 5.5.5. --- gnu/packages/finance.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 84547639e4..b10aa857eb 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2020 Christine Lemmer-Webber ;;; Copyright © 2020 Tom Zander ;;; Copyright © 2020 Marius Bakke -;;; Copyright © 2020, 2021 Vinicius Monego +;;; Copyright © 2020, 2021, 2022 Vinicius Monego ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ @@ -273,14 +273,14 @@ Accounting.") (define-public homebank (package (name "homebank") - (version "5.5.4") + (version "5.5.5") (source (origin (method url-fetch) (uri (string-append "http://homebank.free.fr/public/homebank-" version ".tar.gz")) (sha256 (base32 - "0rapdqv2j61cj2jzfk0fiby3na4k5g5i7shkqbjhld4rl2y6j1hd")))) + "0rwykjpv4w7bffyvx2j6py17nxw9jcbml7ma4is194i3npn0bkmy")))) (build-system glib-or-gtk-build-system) (native-inputs (list pkg-config intltool)) -- cgit v1.2.3 From 4188d211c7914920da57272a6336378afd2e8900 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 6 May 2022 14:26:43 +0200 Subject: gnu: monero: Update to 0.17.3.2. * gnu/packages/finance.scm (monero): Update to 0.17.3.2. [source]: Remove obsolete part of snippet. [arguments]: Remove trailing booleans. --- gnu/packages/finance.scm | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b10aa857eb..5fee922362 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -664,7 +664,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch ;; the system's dynamically linked library. (package (name "monero") - (version "0.17.3.0") + (version "0.17.3.2") (source (origin (method git-fetch) @@ -681,15 +681,9 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch (for-each delete-file-recursively '("external/miniupnp" "external/rapidjson" - "external/unbound")) - ;; TODO: Remove the following when upgrading to a newer tagged - ;; version as it will already contain the fix for Boost 1.76. - (substitute* "contrib/epee/include/storages/portable_storage.h" - (("#include \"int-util.h\"" all) - (string-append all "\n#include "))) - #t)) + "external/unbound")))) (sha256 - (base32 "1spsf7m3x4psp9s7mivr6x4886jnbq4i8ll2dl8bv5bsdhcd3pjm")))) + (base32 "19sgcbli7fc1l6ms7ma6hcz1mmpbnd296lc8a19rl410acpv45zy")))) (build-system cmake-build-system) (native-inputs (list doxygen @@ -726,21 +720,18 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch ;; tests/core_tests need a valid HOME (add-before 'configure 'set-home (lambda _ - (setenv "HOME" (getcwd)) - #t)) + (setenv "HOME" (getcwd)))) (add-after 'set-home 'change-log-path (lambda _ (substitute* "contrib/epee/src/mlog.cpp" (("epee::string_tools::get_current_module_folder\\(\\)") "\".bitmonero\"") (("return \\(") - "return ((std::string(getenv(\"HOME\"))) / ")) - #t)) + "return ((std::string(getenv(\"HOME\"))) / ")))) (add-after 'change-log-path 'fix-file-permissions-for-tests (lambda _ (for-each make-file-writable - (find-files "tests/data/" "wallet_9svHk1.*")) - #t)) + (find-files "tests/data/" "wallet_9svHk1.*")))) ;; Only try tests that don't need access to network or system (replace 'check (lambda* (#:key tests? #:allow-other-keys) @@ -768,8 +759,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch (add-after 'install 'delete-unused-files (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) - (delete-file-recursively (string-append out "/include"))) - #t))))) + (delete-file-recursively (string-append out "/include")))))))) (home-page "https://web.getmonero.org/") (synopsis "Command-line interface to the Monero currency") (description -- cgit v1.2.3 From 5e27c54e0852243f7987a9c008516c0ad7af6b6a Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 6 May 2022 15:07:30 +0200 Subject: gnu: monero-gui: Update to 0.17.3.2. * gnu/packages/finance.scm (monero-gui): Update to 0.17.3.2. --- gnu/packages/finance.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 5fee922362..b5ab051a1f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -770,7 +770,7 @@ the Monero command line client and daemon.") (define-public monero-gui (package (name "monero-gui") - (version "0.17.3.1") + (version "0.17.3.2") (source (origin (method git-fetch) @@ -784,10 +784,9 @@ the Monero command line client and daemon.") '(begin ;; Delete bundled monero sources, we already have them. ;; See the 'extract-monero-sources' phase. - (delete-file-recursively "monero") - #t)) + (delete-file-recursively "monero"))) (sha256 - (base32 "0mzxbi16zvpfgwykg0c7gm5dmjxr2a47kjwih36g53a7pnf04zl1")))) + (base32 "12x0d981fkb43inx7zqjr3ny53dih9g8k03cmaflxqwviinb1k4b")))) (build-system qt-build-system) (native-inputs `(,@(package-native-inputs monero) -- cgit v1.2.3 From 5a2b9fc2e6fe868e838ae3865e4a2d2c22cda91d Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Mon, 16 May 2022 11:04:14 +0000 Subject: gnu: emacs-ledger-mode: Update to 4.0.0-0-11e85039. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/finance.scm (emacs-ledger-mode): Update to 4.0.0-0-11e85039. [arguments]: Convert to list of G-Expressions. Use ‘search-input-file’ where possible. Drop trailing ‘#t’s. While here, respect TESTS? in check phase. Co-authored-by: Aleksandr Vityazev Signed-off-by: Maxim Cournoyer --- gnu/packages/finance.scm | 96 +++++++++++++++++++++++++----------------------- 1 file changed, 50 insertions(+), 46 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b5ab051a1f..09b979899d 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -26,6 +26,8 @@ ;;; Copyright © 2021 François J ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2021 John Kehayias +;;; Copyright © 2022 Kyle Meyer +;;; Copyright © 2022 Aleksandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -395,51 +397,53 @@ in ability, and easy to use.") "See src/wcwidth.cc in the distribution."))))) (define-public emacs-ledger-mode - (package - (name "emacs-ledger-mode") - (version "4.0.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ledger/ledger-mode") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1r5rcyxd6d1rqwamzpvqdbkbdf1zbj75aaciqijrklnm59ps244y")))) - (build-system emacs-build-system) - (arguments - `(;; ledger-test.el is needed at runtime (but probably not for a good reason). - #:exclude '() - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-path - (lambda* (#:key inputs #:allow-other-keys) - (let ((ledger (assoc-ref inputs "ledger"))) - (make-file-writable "ledger-exec.el") - (emacs-substitute-variables "ledger-exec.el" - ("ledger-binary-path" (string-append ledger "/bin/ledger")))) - #t)) - (add-after 'build 'build-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((target (string-append (assoc-ref outputs "out") - "/share/info"))) - (mkdir-p target) - (invoke "makeinfo" "-o" target - "../source/doc/ledger-mode.texi")) - #t)) - (replace 'check - (lambda _ - (with-directory-excursion "../source/test" - (invoke "make" "test-batch"))))))) - (inputs - (list ledger)) - (native-inputs - (list texinfo)) - (home-page "https://ledger-cli.org/") - (synopsis "Command-line double-entry accounting program") - (description - "Ledger is a powerful, double-entry accounting system that is + ;; The last release was on Nov 8, 2019 and doesn't build with Emacs 28. + (let ((commit "11e850395448ee7012dba16bd6df103f5552ebfb") + (revision "0")) + (package + (name "emacs-ledger-mode") + (version (git-version "4.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ledger/ledger-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hzky36vrlb7kvpyz4gy3zn01zdlmlx0s58w6ggk5djbcvjc2rfx")))) + (build-system emacs-build-system) + (arguments + (list + ;; ledger-test.el is needed at runtime (but probably not for a good reason). + #:exclude #~'() + #:tests? #t + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "ledger-exec.el") + (emacs-substitute-variables "ledger-exec.el" + ("ledger-binary-path" (search-input-file inputs "/bin/ledger"))))) + (add-after 'build 'build-doc + (lambda _ + (let ((target (string-append #$output "/share/info"))) + (mkdir-p target) + (invoke "makeinfo" "-o" target + "../source/doc/ledger-mode.texi")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "../source/test" + (invoke "make" "test-batch")))))))) + (inputs + (list ledger)) + (native-inputs + (list texinfo)) + (home-page "https://ledger-cli.org/") + (synopsis "Command-line double-entry accounting program") + (description + "Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, since there is no flashy UI, but for those who want unparalleled reporting access to their data there are few alternatives. @@ -453,7 +457,7 @@ a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use. This package provides the Emacs mode.") - (license license:gpl2+))) + (license license:gpl2+)))) (define-public geierlein (package -- cgit v1.2.3 From 50491574a6ae5d3abe84f6cec94acc35f398bafd Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 17:33:43 -0400 Subject: gnu: Remove python2-stdnum. * gnu/packages/finance.scm (python2-stdnum): Delete variable. --- gnu/packages/finance.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 09b979899d..d45cb42f09 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1230,9 +1230,6 @@ The module also includes implementations of the Verhoeff, Luhn and family of ISO/IEC 7064 check digit algorithms.") (license license:lgpl2.1+))) -(define-public python2-stdnum - (package-with-python2 python-stdnum)) - (define-public python-duniterpy (package (name "python-duniterpy") -- cgit v1.2.3 From 6ad2c39af863f7c559f2d4bf1cb33cef6f14b82d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 17:33:47 -0400 Subject: gnu: Remove python2-ledgerblue. * gnu/packages/finance.scm (python2-ledgerblue): Delete variable. --- gnu/packages/finance.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index d45cb42f09..9ad046b248 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -978,9 +978,6 @@ of Bitcoin BIP-0039.") Ledger Blue/Nano S.") (license license:asl2.0))) -(define-public python2-ledgerblue - (package-with-python2 python-ledgerblue)) - (define-public python-btchip-python (package (name "python-btchip-python") -- cgit v1.2.3 From c9a21c421641562a9a77a880eb118e4dc4675f7f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 17:33:52 -0400 Subject: gnu: Remove python2-keepkey. * gnu/packages/finance.scm (python2-keepkey): Delete variable. --- gnu/packages/finance.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9ad046b248..d528f2662d 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1085,9 +1085,6 @@ TREZOR Hardware Wallet.") the KeepKey Hardware Wallet.") (license license:lgpl3))) -(define-public python2-keepkey - (package-with-python2 python-keepkey)) - (define-public ledger-agent (package (name "ledger-agent") -- cgit v1.2.3 From e19a8130c48966a587576e13cf0aa449275687f2 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 21:18:39 -0400 Subject: gnu: Remove python2-mnemonic. * gnu/packages/finance.scm (python2-mnemonic): Delete variable. --- gnu/packages/finance.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index d528f2662d..0f9a50045b 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -950,9 +950,6 @@ settings.") of Bitcoin BIP-0039.") (license license:expat))) -(define-public python2-mnemonic - (package-with-python2 python-mnemonic)) - (define-public python-ledgerblue (package (name "python-ledgerblue") -- cgit v1.2.3 From 56107782660039fd5a7ea99f6a76e99e721ade4c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:00 +0200 Subject: gnu: beancount: Update to 2.3.5. * gnu/packages/finance.scm (beancount): Update to 2.3.5. --- gnu/packages/finance.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 0f9a50045b..f2904d2106 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1677,14 +1677,13 @@ that allows you to run services and through them access the Bitcoin Cash network (define-public beancount (package (name "beancount") - (version "2.3.4") + (version "2.3.5") (source (origin (method url-fetch) (uri (pypi-uri "beancount" version)) (sha256 - (base32 - "1h465zc7gb0bc5pagm9fsp083sqxrn2mjfbk9l7h162xm7k8rw1b")) + (base32 "0sn3x6c5vwvdfak1qm0y4vv284izrc4dly31mqyd9jz9l8jmdqql")) (patches (search-patches "beancount-disable-googleapis-fonts.patch")))) (build-system python-build-system) (arguments -- cgit v1.2.3 From ed15c921395bebbe0b385ab41b1381b6ab23a42d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:01 +0200 Subject: gnu: quantlib: Update to 1.26. * gnu/packages/finance.scm (quantlib): Update to 1.26. --- gnu/packages/finance.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index f2904d2106..85521556d7 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1806,7 +1806,7 @@ editing on the Web.") (define-public quantlib (package (name "quantlib") - (version "1.24") + (version "1.26") (source (origin (method url-fetch) @@ -1814,7 +1814,7 @@ editing on the Web.") "https://github.com/lballabio/QuantLib/releases/download/QuantLib-v" version "/QuantLib-" version ".tar.gz")) (sha256 - (base32 "1rxjhkc32a8z0g5gmh0iw5nx0fr31cjsrfgq7c8g6nib003kgnnx")))) + (base32 "1sbk6rg51x5xpa93xmqmrj32a1l9vba51xck0017cxzblg0nrzh4")))) (build-system gnu-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From 08063e55ba749466884d9ff16c44af71cb95812c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 16:56:42 -0400 Subject: gnu: python-trezor: Update to 0.13.0. * gnu/packages/finance.scm (python-trezor): Update to 0.13.0. [source]: Delete broken symbolic links in snippet. [propagated-inputs]: Use python-click-7. [native-inputs]: Re-order. --- gnu/packages/finance.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 85521556d7..1b86f240dd 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1001,7 +1001,7 @@ Nano dongle.") (define-public python-trezor (package (name "python-trezor") - (version "0.12.4") + (version "0.13.0") (source (origin (method git-fetch) @@ -1010,7 +1010,7 @@ Nano dongle.") (commit (string-append "python/v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1k0zk94jnkhr4iyngjfhfvff5mibx265q81v8jhvhd3m4clzgc45")) + (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd")) (modules '((guix build utils) (srfi srfi-26) @@ -1028,11 +1028,18 @@ Nano dongle.") (string-append "./" file-name))) (scandir "./python/" (negate (cut member <> '("." "..") string=)))) - (delete-file-recursively "./python"))))) + (delete-file-recursively "./python") + ;; Delete now broken symbolic links. + (for-each delete-file + (append (find-files "." "^CHANGELOG.unreleased$") + (find-files "." "^.towncrier.template.md$"))))))) (build-system python-build-system) (propagated-inputs (list python-attrs - python-click + ;; TOOD: Use the latest click version after release 0.13.1 or later + ;; is made (see: + ;; https://github.com/trezor/trezor-firmware/issues/2199). + python-click-7 python-construct python-ecdsa python-libusb1 @@ -1043,8 +1050,8 @@ Nano dongle.") ;; For tests. (list protobuf python-black - python-protobuf python-isort + python-protobuf python-pyqt python-pytest)) (home-page "https://github.com/trezor/python-trezor") -- cgit v1.2.3 From 4e92098e85429ee5896251a164e5f3c8a6eb51ed Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 17:03:44 -0400 Subject: gnu: python-trezor-agent: Delete trailing #t and honor TESTS?. * gnu/packages/finance.scm (python-trezor-agent) [phases]: Delete trailing #t. {check}: Honor TESTS?. Delete extraneous add-installed-pythonpath call. --- gnu/packages/finance.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 1b86f240dd..b02012a72c 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -875,14 +875,12 @@ the Monero GUI client.") ;; a built-in implementation supported in python-trezor-agent. (lambda _ (substitute* "setup.py" - (("'backports.shutil_which>=3.5.1',") "")) - #t)) + (("'backports.shutil_which>=3.5.1',") "")))) (delete 'check) (add-after 'install 'check - (lambda* (#:key outputs inputs #:allow-other-keys) - ;; Make installed package available for running the tests. - (add-installed-pythonpath inputs outputs) - (invoke "py.test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v"))))))) (propagated-inputs (list python-configargparse python-daemon -- cgit v1.2.3 From 036a4642580831ea7784f8dcd1d1d5d314a52223 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 17:08:02 -0400 Subject: gnu: python-trezor: Add python-hidapi optional dependency. * gnu/packages/finance.scm (python-trezor) [propagated-inputs]: Add python-hidapi. --- gnu/packages/finance.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b02012a72c..f342b537e0 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1040,6 +1040,7 @@ Nano dongle.") python-click-7 python-construct python-ecdsa + python-hidapi python-libusb1 python-mnemonic python-requests -- cgit v1.2.3 From da0839c77dedc6f6fcbbe503fda8a58a27af2e51 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 17:17:38 -0400 Subject: gnu: trezor-agent: Update to 0.14.4. * gnu/packages/finance.scm (trezor-agent): Update to 0.14.4. [phases]{relax-requirements}: New phase. --- gnu/packages/finance.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index f342b537e0..ecd20969fe 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1110,7 +1110,7 @@ the KeepKey Hardware Wallet.") (define-public trezor-agent (package (name "trezor-agent") - (version "0.11.0-1") + (version "0.14.4") (source (origin (method git-fetch) @@ -1150,6 +1150,11 @@ the KeepKey Hardware Wallet.") ;; This package only has a Python script, not a Python module, so the ;; sanity-check phase can't work. (delete 'sanity-check) + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + (("'trezor\\[hidapi]>=0.12.0,<0.13'") + "'trezor[hidapi]>=0.13'")))) (add-after 'wrap 'fixup-agent-py (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))) -- cgit v1.2.3 From a7e985d3a3a3719f8f391ffaa3576e61025ac4e8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 16:29:55 -0400 Subject: gnu: electron-cash: Update to 4.2.10. * gnu/packages/finance.scm (electron-cash): Update to 4.2.10. --- gnu/packages/finance.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index ecd20969fe..1afd51ff89 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -587,7 +587,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (define-public electron-cash (package (name "electron-cash") - (version "4.2.7") + (version "4.2.10") (source (origin (method git-fetch) @@ -596,7 +596,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1qiql2svjyxlgbg4c5b7grgsv8nx2cx33x3x13mvjjngjz3vgilv")))) + (base32 "0axpypq9byda61rp3sznrq24b24qxbfwk56j75qp06s1ackg0pcv")))) (build-system python-build-system) (inputs `(("libevent" ,libevent) -- cgit v1.2.3 From f336f69f28c218e228003d283326fa78541d0ebc Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 6 Jun 2022 16:21:47 -0400 Subject: gnu: electron-cash: Apply new style to inputs and use gexps. * gnu/packages/finance.scm (electron-cash)[phases]: Use gexps. [inputs]: Use new style. --- gnu/packages/finance.scm | 101 ++++++++++++++++++++++++----------------------- 1 file changed, 51 insertions(+), 50 deletions(-) (limited to 'gnu/packages/finance.scm') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 1afd51ff89..96dfc34075 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2021 John Kehayias ;;; Copyright © 2022 Kyle Meyer ;;; Copyright © 2022 Aleksandr Vityazev +;;; Copyright © 2022 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -598,66 +599,66 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") (sha256 (base32 "0axpypq9byda61rp3sznrq24b24qxbfwk56j75qp06s1ackg0pcv")))) (build-system python-build-system) - (inputs - `(("libevent" ,libevent) - ("libsecp256k1" ,libsecp256k1-bitcoin-cash) - ("openssl" ,openssl) - ("python-cython" ,python-cython) - ("python-dateutil" ,python-dateutil) - ("python-dnspython" ,python-dnspython) - ("python-ecdsa" ,python-ecdsa) - ("python-hidapi" ,python-hidapi) - ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix) - ("python-keepkey" ,python-keepkey) - ("python-pathvalidate" ,python-pathvalidate) - ("python-protobuf" ,python-protobuf) - ("python-pyaes" ,python-pyaes) - ("python-pyqt" ,python-pyqt) - ("python-pysocks" ,python-pysocks) - ("python-qdarkstyle" ,python-qdarkstyle) - ("python-qrcode" ,python-qrcode) - ("python-requests" ,python-requests) - ("python-stem" ,python-stem) - ("python-trezor" ,python-trezor) - ("qtsvg" ,qtsvg) - ("zlib" ,zlib))) (arguments - `(#:tests? #f ; no tests - #:modules ((guix build python-build-system) + (list + #:tests? #f ; no tests + #:modules '((guix build python-build-system) (guix build qt-utils) (guix build utils)) - #:imported-modules (,@%python-build-system-modules + #:imported-modules `(,@%python-build-system-modules (guix build qt-utils)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'create-output-directories - (lambda* (#:key outputs #:allow-other-keys) - ;; setup.py installs to ~/.local/share if this doesn't exist. - (mkdir-p (string-append (assoc-ref outputs "out") "/share")))) - (add-after 'unpack 'use-libsecp256k1-input - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "electroncash/secp256k1.py" - (("library_paths = .* 'libsecp256k1.so.0'.") - (string-append "library_paths = ('" - (assoc-ref inputs "libsecp256k1") - "/lib/libsecp256k1.so.0'"))))) - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "contrib/requirements/requirements.txt" - (("qdarkstyle==2\\.6\\.8") - "qdarkstyle")))) - (add-after 'install 'wrap-qt - (lambda* (#:key outputs inputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (wrap-qt-program "electron-cash" #:output out #:inputs inputs)) - #t))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'create-output-directories + (lambda _ + ;; setup.py installs to ~/.local/share if this doesn't exist. + (mkdir-p (string-append #$output "/share")))) + (add-after 'unpack 'use-libsecp256k1-input + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "electroncash/secp256k1.py" + (("libsecp256k1.so.0") + (search-input-file inputs "lib/libsecp256k1.so.0"))))) + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "contrib/requirements/requirements.txt" + (("qdarkstyle==2\\.6\\.8") + "qdarkstyle")))) + (add-after 'install 'wrap-qt + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-qt-program "electron-cash" + #:output out #:inputs inputs))))))) + (inputs + (list libevent + libsecp256k1-bitcoin-cash + openssl + python-cython + python-dateutil + python-dnspython + python-ecdsa + python-hidapi + python-jsonrpclib-pelix + python-keepkey + python-pathvalidate + python-protobuf + python-pyaes + python-pyqt + python-pysocks + python-qdarkstyle + python-qrcode + python-requests + python-stem + python-trezor + qtsvg + zlib)) (home-page "https://electroncash.org/") (synopsis "Bitcoin Cash wallet") (description "Electroncash is a lightweight Bitcoin Cash client, based on a client-server protocol. It supports Simple Payment Verification (SPV) and deterministic key generation from a seed. Your secret keys are encrypted and are never sent to -other machines/servers. Electroncash does not download the Bitcoin Cash blockchain.") +other machines/servers. Electroncash does not download the Bitcoin Cash +blockchain.") (license license:expat))) (define-public monero -- cgit v1.2.3