depot/third_party/nixpkgs/pkgs/applications/misc/xmrig/moneroocean.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

22 lines
634 B
Nix

{ stdenv, fetchFromGitHub, lib, xmrig }:
xmrig.overrideAttrs (oldAttrs: rec {
pname = "xmrig-mo";
version = "6.18.0-mo1";
src = fetchFromGitHub {
owner = "MoneroOcean";
repo = "xmrig";
rev = "v${version}";
sha256 = "sha256-Ma5wXaQBAVWJsL2wVOHxQ2aSAG9wOywk/abtUi03JvY=";
};
meta = with lib; {
broken = stdenv.isDarwin;
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 ];
};
})