mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: monero: Update to 0.17.3.2.
* gnu/packages/finance.scm (monero): Update to 0.17.3.2. [source]: Remove obsolete part of snippet. [arguments]: Remove trailing booleans.
This commit is contained in:
parent
53628d6e3b
commit
4188d211c7
1 changed files with 7 additions and 17 deletions
|
@ -664,7 +664,7 @@ (define-public monero
|
|||
;; the system's dynamically linked library.
|
||||
(package
|
||||
(name "monero")
|
||||
(version "0.17.3.0")
|
||||
(version "0.17.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -681,15 +681,9 @@ (define-public monero
|
|||
(for-each
|
||||
delete-file-recursively
|
||||
'("external/miniupnp" "external/rapidjson"
|
||||
"external/unbound"))
|
||||
;; TODO: Remove the following when upgrading to a newer tagged
|
||||
;; version as it will already contain the fix for Boost 1.76.
|
||||
(substitute* "contrib/epee/include/storages/portable_storage.h"
|
||||
(("#include \"int-util.h\"" all)
|
||||
(string-append all "\n#include <boost/mpl/contains.hpp>")))
|
||||
#t))
|
||||
"external/unbound"))))
|
||||
(sha256
|
||||
(base32 "1spsf7m3x4psp9s7mivr6x4886jnbq4i8ll2dl8bv5bsdhcd3pjm"))))
|
||||
(base32 "19sgcbli7fc1l6ms7ma6hcz1mmpbnd296lc8a19rl410acpv45zy"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
(list doxygen
|
||||
|
@ -726,21 +720,18 @@ (define-public monero
|
|||
;; tests/core_tests need a valid HOME
|
||||
(add-before 'configure 'set-home
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd))
|
||||
#t))
|
||||
(setenv "HOME" (getcwd))))
|
||||
(add-after 'set-home 'change-log-path
|
||||
(lambda _
|
||||
(substitute* "contrib/epee/src/mlog.cpp"
|
||||
(("epee::string_tools::get_current_module_folder\\(\\)")
|
||||
"\".bitmonero\"")
|
||||
(("return \\(")
|
||||
"return ((std::string(getenv(\"HOME\"))) / "))
|
||||
#t))
|
||||
"return ((std::string(getenv(\"HOME\"))) / "))))
|
||||
(add-after 'change-log-path 'fix-file-permissions-for-tests
|
||||
(lambda _
|
||||
(for-each make-file-writable
|
||||
(find-files "tests/data/" "wallet_9svHk1.*"))
|
||||
#t))
|
||||
(find-files "tests/data/" "wallet_9svHk1.*"))))
|
||||
;; Only try tests that don't need access to network or system
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
|
@ -768,8 +759,7 @@ (define-public monero
|
|||
(add-after 'install 'delete-unused-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(delete-file-recursively (string-append out "/include")))
|
||||
#t)))))
|
||||
(delete-file-recursively (string-append out "/include"))))))))
|
||||
(home-page "https://web.getmonero.org/")
|
||||
(synopsis "Command-line interface to the Monero currency")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue