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";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "6.19.3-mo1";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoneroOcean";
|
|
|
|
repo = "xmrig";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-0yH+EFhzhDS/75AIjMiFbkQuHfPaJRzdr7n4/WBkeNM=";
|
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;
|
2023-03-04 12:14:45 +00:00
|
|
|
platforms = platforms.unix;
|
2021-08-18 13:19:15 +00:00
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
};
|
|
|
|
})
|