2021-08-18 13:19:15 +00:00
|
|
|
{ fetchFromGitHub, lib, xmrig }:
|
|
|
|
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "xmrig-mo";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "6.15.3-mo1";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoneroOcean";
|
|
|
|
repo = "xmrig";
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-oR9zn73tAgn98tZKvP+2kU1imUKvLz0oNYF+fwFvIA0=";
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A fork of the XMRig CPU miner with support for algorithm switching";
|
|
|
|
homepage = "https://github.com/MoneroOcean/xmrig";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
};
|
|
|
|
})
|