gnu: monero-gui: Update to 0.18.0.0.
* gnu/packages/finance.scm (monero-gui): Update to 0.18.0.0. [inputs]: remove labels. [arguments]: Use gexps.
parent
e7bac8584b
commit
d4b7aae9f4
|
@ -776,7 +776,7 @@ 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.3.2")
|
(version "0.18.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -792,60 +792,59 @@ the Monero command line client and daemon.")
|
||||||
;; See the 'extract-monero-sources' phase.
|
;; See the 'extract-monero-sources' phase.
|
||||||
(delete-file-recursively "monero")))
|
(delete-file-recursively "monero")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12x0d981fkb43inx7zqjr3ny53dih9g8k03cmaflxqwviinb1k4b"))))
|
(base32 "14rbw9803h3g7ld3d24vc3i9n55n09x13frkmd128xx5jw17v5sr"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(,@(package-native-inputs monero)
|
`(,@(package-native-inputs monero)
|
||||||
("monero-source" ,(package-source monero))))
|
("monero-source" ,(package-source monero))))
|
||||||
(inputs
|
(inputs
|
||||||
`(,@(package-inputs monero)
|
(modify-inputs (package-inputs monero)
|
||||||
("libgcrypt" ,libgcrypt)
|
(append libgcrypt
|
||||||
("monero" ,monero)
|
monero
|
||||||
("qtbase" ,qtbase-5)
|
qtbase-5
|
||||||
("qtdeclarative-5" ,qtdeclarative-5)
|
qtdeclarative-5
|
||||||
("qtgraphicaleffects" ,qtgraphicaleffects)
|
qtgraphicaleffects
|
||||||
("qtquickcontrols-5" ,qtquickcontrols-5)
|
qtquickcontrols-5
|
||||||
("qtquickcontrols2-5",qtquickcontrols2-5)
|
qtquickcontrols2-5
|
||||||
("qtsvg-5" ,qtsvg-5)
|
qtsvg-5
|
||||||
("qtxmlpatterns" ,qtxmlpatterns)))
|
qtxmlpatterns)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests
|
(list #:tests? #f ; No tests
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
,#~(list "-DARCH=default"
|
#~(list "-DARCH=default"
|
||||||
"-DENABLE_PASS_STRENGTH_METER=ON"
|
"-DENABLE_PASS_STRENGTH_METER=ON"
|
||||||
(string-append "-DReadline_ROOT_DIR="
|
(string-append "-DReadline_ROOT_DIR="
|
||||||
#$(this-package-input "readline")))
|
#$(this-package-input "readline")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'extract-monero-sources
|
(add-after 'unpack 'extract-monero-sources
|
||||||
;; 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")
|
(mkdir-p "monero")
|
||||||
(copy-recursively (assoc-ref inputs "monero-source")
|
(copy-recursively (assoc-ref inputs "monero-source")
|
||||||
"monero")))
|
"monero")))
|
||||||
(add-after 'extract-monero-sources 'fix-build
|
(add-after 'extract-monero-sources 'fix-build
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/version.js.in"
|
(substitute* "src/version.js.in"
|
||||||
(("@VERSION_TAG_GUI@")
|
(("@VERSION_TAG_GUI@")
|
||||||
,version))
|
#$version))
|
||||||
(substitute* "external/CMakeLists.txt"
|
(substitute* "external/CMakeLists.txt"
|
||||||
(("add_library\\(quirc" all)
|
(("add_library\\(quirc" all)
|
||||||
(string-append
|
(string-append
|
||||||
"set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\")\n"
|
"set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\")\n"
|
||||||
all)))))
|
all)))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
(let ((bin (string-append #$output "/bin")))
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
(install-file "../build/bin/monero-wallet-gui" bin))))
|
(install-file "../build/bin/monero-wallet-gui" bin))))
|
||||||
(add-after 'qt-wrap 'install-monerod-link
|
(add-after 'qt-wrap 'install-monerod-link
|
||||||
;; The monerod program must be available so that monero-wallet-gui
|
;; The monerod program must be available so that
|
||||||
;; can start a Monero daemon if necessary.
|
;; monero-wallet-gui can start a Monero daemon if necessary.
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(symlink (search-input-file inputs "/bin/monerod")
|
(symlink (search-input-file inputs "/bin/monerod")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append #$output "/bin/monerod")))))))
|
||||||
"/bin/monerod")))))))
|
|
||||||
(home-page "https://web.getmonero.org/")
|
(home-page "https://web.getmonero.org/")
|
||||||
(synopsis "Graphical user interface for the Monero currency")
|
(synopsis "Graphical user interface for the Monero currency")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue