159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
25 lines
609 B
Nix
25 lines
609 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, xmrig
|
|
}:
|
|
|
|
xmrig.overrideAttrs (oldAttrs: rec {
|
|
pname = "xmrig-mo";
|
|
version = "6.22.0-mo3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MoneroOcean";
|
|
repo = "xmrig";
|
|
rev = "v${version}";
|
|
hash = "sha256-3KFyCs9Kf0i7IkG1piP/DRj1jTj1VmXbAk/U3Wt4jh0=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Fork of the XMRig CPU miner with support for algorithm switching";
|
|
homepage = "https://github.com/MoneroOcean/xmrig";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "xmrig";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ j0hax redhawk ];
|
|
};
|
|
})
|