mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
Merge pull request #329257 from Redhawk18/xmrigmoo
xmrig-mo: 6.21.0-mo2 -> 6.21.3-mo15
This commit is contained in:
commit
16cf220a3b
@ -1,36 +1,25 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, xmrig
|
||||
}:
|
||||
|
||||
xmrig.overrideAttrs (oldAttrs: rec {
|
||||
pname = "xmrig-mo";
|
||||
version = "6.21.0-mo2";
|
||||
version = "6.21.3-mo15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MoneroOcean";
|
||||
repo = "xmrig";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OKyJcmhlY8gfDKyBf83KHhokp4qA8EDyessTwKReaD8=";
|
||||
hash = "sha256-eLI41O7SQUgNHFuMNT4W4pjAGDFe2plXuXmZH8QyCZ0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build against gcc-13 due to missing <stdexcept> include
|
||||
# https://github.com/MoneroOcean/xmrig/pull/123
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/MoneroOcean/xmrig/commit/7d3ea51d68049c35e9d4c75732c751eefbc5ab29.patch";
|
||||
hash = "sha256-iNrtZ8LxNJMzn8kXLhYGEFAy0ughfOZobDVRImpVPC0=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fork of the XMRig CPU miner with support for algorithm switching";
|
||||
homepage = "https://github.com/MoneroOcean/xmrig";
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "xmrig";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
maintainers = with maintainers; [ j0hax redhawk ];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user