3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
21 lines
596 B
Nix
21 lines
596 B
Nix
{ fetchFromGitHub, lib, xmrig }:
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
pname = "xmrig-mo";
|
|
version = "6.16.2-mo2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MoneroOcean";
|
|
repo = "xmrig";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-o2TtkoKa4DQ6tM1GdKVEmkWoJvnvxQc514wwgsfTDnE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|