2022-05-28 13:28:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, xmrig }:
|
2021-08-06 14:38:03 +00:00
|
|
|
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "xmrig-mo";
|
2023-02-22 08:25:23 +00:00
|
|
|
version = "6.19.0-mo1";
|
2021-08-06 14:38:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoneroOcean";
|
|
|
|
repo = "xmrig";
|
|
|
|
rev = "v${version}";
|
2023-02-22 08:25:23 +00:00
|
|
|
sha256 = "sha256-+J6gl/R9Yi8V2nYNuIH/oyplWi8vzfdamELHjp6iS7c=";
|
2021-08-06 14:38:03 +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;
|
2023-02-23 04:33:11 +00:00
|
|
|
platforms = platforms.unix;
|
2021-08-06 14:38:03 +00:00
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
};
|
|
|
|
})
|