me
/
guix
Archived
1
0
Fork 0

gnu: xmrig: Update to 6.19.0.

* gnu/packages/finance.scm (xmrig): Update to 6.19.0.
master
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
1 changed files with 9 additions and 7 deletions

View File

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