25 lines
609 B
Nix
25 lines
609 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, xmrig
|
|
}:
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
pname = "xmrig-mo";
|
|
version = "6.22.2-mo1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MoneroOcean";
|
|
repo = "xmrig";
|
|
rev = "v${version}";
|
|
hash = "sha256-pJ4NTdpWCt7C98k1EqGoiU0Lup25Frdm1kFJuwTfXgY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|