2024-02-29 20:09:43 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, xmrig
|
|
|
|
}:
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "xmrig-mo";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "6.21.3-mo15";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoneroOcean";
|
|
|
|
repo = "xmrig";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-eLI41O7SQUgNHFuMNT4W4pjAGDFe2plXuXmZH8QyCZ0=";
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fork of the XMRig CPU miner with support for algorithm switching";
|
2021-08-18 13:19:15 +00:00
|
|
|
homepage = "https://github.com/MoneroOcean/xmrig";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "xmrig";
|
2023-03-04 12:14:45 +00:00
|
|
|
platforms = platforms.unix;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ j0hax redhawk ];
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
|
|
|
})
|