me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 12 additions and 3 deletions

View File

@ -740,16 +740,24 @@ the Monero command line client and daemon.")
(define-public monero-gui (define-public monero-gui
(package (package
(name "monero-gui") (name "monero-gui")
(version "0.17.1.8") (version "0.17.1.9")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/monero-project/monero-gui") (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)) (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 (sha256
(base32 "13cjrfdkr7c2ff8j2rg8hvhlc00af38vcs67wlx2109i2baq4pp3")))) (base32 "0vpvpvsbbj547yir15g84qy9l9lwbip795zlliz79i7d66l23b1w"))))
(build-system qt-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
`(,@(package-native-inputs monero) `(,@(package-native-inputs monero)
@ -778,6 +786,7 @@ the Monero command line client and daemon.")
;; Some of the monero package source code is required ;; Some of the monero package source code is required
;; to build the GUI. ;; to build the GUI.
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "monero")
(invoke "tar" "-xv" "--strip-components=1" (invoke "tar" "-xv" "--strip-components=1"
"-C" "monero" "-C" "monero"
"-f" (assoc-ref inputs "monero-source")))) "-f" (assoc-ref inputs "monero-source"))))