gnu: monero-gui: Update to 0.17.1.9.

* gnu/packages/finance.scm (monero-gui): Update to 0.17.1.9.
  [source]: Fetch submodules. Add snippet to remove embedded monero sources.
This commit is contained in:
Guillaume Le Vaillant 2021-01-08 13:35:32 +01:00
parent bd089edd1a
commit 9524a2877b
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -740,16 +740,24 @@ (define-public monero
(define-public monero-gui
(package
(name "monero-gui")
(version "0.17.1.8")
(version "0.17.1.9")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/monero-project/monero-gui")
(commit (string-append "v" version))))
(commit (string-append "v" version))
(recursive? #t)))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
;; Delete bundled monero sources, we already have them.
;; See the 'extract-monero-sources' phase.
(delete-file-recursively "monero")
#t))
(sha256
(base32 "13cjrfdkr7c2ff8j2rg8hvhlc00af38vcs67wlx2109i2baq4pp3"))))
(base32 "0vpvpvsbbj547yir15g84qy9l9lwbip795zlliz79i7d66l23b1w"))))
(build-system qt-build-system)
(native-inputs
`(,@(package-native-inputs monero)
@ -778,6 +786,7 @@ (define-public monero-gui
;; Some of the monero package source code is required
;; to build the GUI.
(lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "monero")
(invoke "tar" "-xv" "--strip-components=1"
"-C" "monero"
"-f" (assoc-ref inputs "monero-source"))))