diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2020-05-26 14:19:11 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2020-05-26 14:56:42 +0200 |
commit | 51bd1f5b07415f63cb5d402a73187855550858b4 (patch) | |
tree | f86f07083fb4ada31de5bfa45861a26c8cdb5ddd /gnu/packages/finance.scm | |
parent | 9b0d54b2797d4efed0e104e1237d197863839a43 (diff) | |
download | guix-51bd1f5b07415f63cb5d402a73187855550858b4.tar.gz |
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.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r-- | gnu/packages/finance.scm | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 92a0b758a9..3e23fcceea 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" (("\\?=") "=")) |