me
/
guix
Archived
1
0
Fork 0

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.
master
Guillaume Le Vaillant 2020-05-26 14:19:11 +02:00
parent 9b0d54b279
commit 51bd1f5b07
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 15 additions and 4 deletions

View File

@ -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"
(("\\?=") "="))