gnu: xmrig: Update to 6.19.0.

* gnu/packages/finance.scm (xmrig): Update to 6.19.0.
This commit is contained in:
Guillaume Le Vaillant 2023-03-01 15:42:11 +01:00
parent f3a3e5fc76
commit f2f530e808
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -2194,7 +2194,7 @@ and manipulation.")
(define-public xmrig (define-public xmrig
(package (package
(name "xmrig") (name "xmrig")
(version "6.18.1") (version "6.19.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2202,17 +2202,19 @@ and manipulation.")
(url "https://github.com/xmrig/xmrig") (url "https://github.com/xmrig/xmrig")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (base32 "0f0kly374pkgnpnx60hac0bg9297a5zhycss6p37iavayn28jg39")) (sha256 (base32 "10vaq6ld4sddnpmv9dg71fjvw1jrfaddrp3bq6p3dxhsl153khm4"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; TODO: Try to use system libraries instead of bundled ones in ;; TODO: Try to use system libraries instead of bundled ones in
;; "src/3rdparty/". It requires changes to some "cmake/..." scripts ;; "src/3rdparty/". It requires changes to some "cmake/..." scripts
;; and to some source files. ;; and to some source files.
#~(substitute* "src/donate.h" #~(begin
(("constexpr const int kDefaultDonateLevel = 1;") (delete-file-recursively "src/3rdparty/hwloc")
"constexpr const int kDefaultDonateLevel = 0;") (substitute* "src/donate.h"
(("constexpr const int kMinimumDonateLevel = 1;") (("constexpr const int kDefaultDonateLevel = 1;")
"constexpr const int kMinimumDonateLevel = 0;"))))) "constexpr const int kDefaultDonateLevel = 0;")
(("constexpr const int kMinimumDonateLevel = 1;")
"constexpr const int kMinimumDonateLevel = 0;"))))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
(list (list