depot/third_party/nixpkgs/pkgs/applications/misc/xmrig/moneroocean.nix
Default email 2ea8997135 Project import generated by Copybara.
GitOrigin-RevId: 5bc8b980b9178ef9a4bb622320cf34e59ea2ea10
2021-08-23 10:02:39 +02:00

21 lines
596 B
Nix

{ fetchFromGitHub, lib, xmrig }:
xmrig.overrideAttrs (oldAttrs: rec {
pname = "xmrig-mo";
version = "6.14.1-mo2";
src = fetchFromGitHub {
owner = "MoneroOcean";
repo = "xmrig";
rev = "v${version}";
sha256 = "sha256-bfD/zxUo4ZDLRDpFbD/FCAvBISHvhRaYXwwiYFd10No=";
};
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 ];
};
})