f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
25 lines
610 B
Nix
25 lines
610 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, xmrig
|
|
}:
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
pname = "xmrig-mo";
|
|
version = "6.21.3-mo15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MoneroOcean";
|
|
repo = "xmrig";
|
|
rev = "v${version}";
|
|
hash = "sha256-eLI41O7SQUgNHFuMNT4W4pjAGDFe2plXuXmZH8QyCZ0=";
|
|
};
|
|
|
|
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 redhawk ];
|
|
};
|
|
})
|