[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: monero-gui: Update to 0.16.0.0.
From: |
guix-commits |
Subject: |
02/03: gnu: monero-gui: Update to 0.16.0.0. |
Date: |
Tue, 26 May 2020 08:57:28 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 51bd1f5b07415f63cb5d402a73187855550858b4
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Tue May 26 14:19:11 2020 +0200
gnu: monero-gui: Update to 0.16.0.0.
* gnu/packages/finance.scm (monero-gui): Update to 0.16.0.0.
[native-inputs]: Add monero-source.
[inputs]: Add libgcrypt.
[arguments]: Add 'get-monero-extra-files' phase.
---
gnu/packages/finance.scm | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 92a0b75..3e23fcc 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -666,7 +666,7 @@ the Monero command line client and daemon.")
(define-public monero-gui
(package
(name "monero-gui")
- (version "0.15.0.4")
+ (version "0.16.0.0")
(source
(origin
(method git-fetch)
@@ -676,14 +676,16 @@ the Monero command line client and daemon.")
(file-name (git-file-name name version))
(sha256
(base32
- "12m5fgnxkr11q2arx1m5ccpxqm5ljcvm6l547dwqn297zs5jim4z"))))
+ "06vdrsj5y9k0zn32hspyxc7sw1kkyrvi3chzkdbnxk9jvyj8k4ld"))))
(build-system qt-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("monero-source" ,(package-source monero))
+ ("pkg-config" ,pkg-config)
("qttools" ,qttools)))
(inputs
`(("boost" ,boost)
("hidapi" ,hidapi)
+ ("libgcrypt" ,libgcrypt)
("libsodium" ,libsodium)
("libunwind" ,libunwind)
("libusb" ,libusb)
@@ -705,7 +707,16 @@ the Monero command line client and daemon.")
`(#:tests? #f ; No tests
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-makefile-vars
+ (add-after 'unpack 'get-monero-extra-files
+ ;; Some headers and GnuPG public keys of the monero package source
+ ;; code are required to build the GUI.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (invoke "tar" "-xv" "--wildcards" "--strip-components=1"
+ "-C" "monero"
+ "-f" (assoc-ref inputs "monero-source")
+ "*.asc" "*.h")
+ #t))
+ (add-after 'get-monero-extra-files 'fix-makefile-vars
(lambda _
(substitute* "src/zxcvbn-c/makefile"
(("\\?=") "="))