2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, xmrig }:
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "xmrig-mo";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "6.18.0-mo1";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoneroOcean";
|
|
|
|
repo = "xmrig";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-Ma5wXaQBAVWJsL2wVOHxQ2aSAG9wOywk/abtUi03JvY=";
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2021-08-18 13:19:15 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
})
|