From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kFvMARoVEmKM7wAAgWs5BA (envelope-from ) for ; Sun, 20 Feb 2022 11:16:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kBvOOhkVEmKggQEA9RJhRA (envelope-from ) for ; Sun, 20 Feb 2022 11:16:57 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9EC7417EA7 for ; Sun, 20 Feb 2022 11:16:57 +0100 (CET) Received: from localhost ([::1]:45410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLjGy-0007f5-QS for larch@yhetil.org; Sun, 20 Feb 2022 05:16:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLjFU-0006Ml-JM for guix-patches@gnu.org; Sun, 20 Feb 2022 05:15:24 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLjF9-0005vH-9g for guix-patches@gnu.org; Sun, 20 Feb 2022 05:15:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLjF8-00086c-F0 for guix-patches@gnu.org; Sun, 20 Feb 2022 05:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54068] [PATCH] Add xmrig and p2pool Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Feb 2022 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Justin Veilleux , 54068@debbugs.gnu.org Received: via spool by 54068-submit@debbugs.gnu.org id=B54068.164535207531101 (code B ref 54068); Sun, 20 Feb 2022 10:15:02 +0000 Received: (at 54068) by debbugs.gnu.org; 20 Feb 2022 10:14:35 +0000 Received: from localhost ([127.0.0.1]:59398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLjEh-00085Z-9T for submit@debbugs.gnu.org; Sun, 20 Feb 2022 05:14:35 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:35850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLjEd-00085P-Q7 for 54068@debbugs.gnu.org; Sun, 20 Feb 2022 05:14:33 -0500 Received: from [172.20.10.9] ([188.188.224.245]) by albert.telenet-ops.be with bizsmtp id xNEV260035JHtyL06NEViW; Sun, 20 Feb 2022 11:14:29 +0100 Message-ID: <03ebf85429e892ee4700824023506ec24b945a51.camel@telenet.be> From: Maxime Devos Date: Sun, 20 Feb 2022 11:14:28 +0100 In-Reply-To: <356b1509-0df9-6579-d440-95bc74c9f2e3@cock.li> References: <356b1509-0df9-6579-d440-95bc74c9f2e3@cock.li> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-JowSGBTQ500fWlrtHpxI" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645352070; bh=owHx1qdxDjleeFG4tuXIdlnccP7nRUX4jAXXfmZu5ZM=; h=Subject:From:To:Date:In-Reply-To:References; b=USEU0mY/FjSC3D2aGI6rmEeijBuefF04wy5g5VdUYrzzzpLZJNh6sAaPk3jhLJNI/ EOJJVZ+QvdIXrmmlFfZZgLN+MHzr87sYES/sA64CnE9w1HW2hnqDqTbkNzVqPgFwIY I6Lv2HBNvyhBZvoMkSK+08kBnkKqEYAWmJ+u/2XZrQN1CeFykyIWzx4NZxVm0/DYwg XysmuhzfjzyECepCGjPsjGJMt8zfkfmfKYmlCrW9EYfvm9Sq0S/btQCtyRL1A3Liiw IcFIhtvg7nds0CpxiIRs/AyyizsArLX0Tt45ZbupMOMu9MBCDcsjbwIGgbT0DWSWbB 2zHCim16RRCxw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645352217; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=owHx1qdxDjleeFG4tuXIdlnccP7nRUX4jAXXfmZu5ZM=; b=AJJWyDL+rfXvpzB4hvfgztEXWfFgkLW9DKXe9A33oWiQFswOiRKl7oV9AI4KJcPr10m+cg siaqrabHGHD9wBUMW3+MgkYq0qfQSk16/gb3kd0CIUi69353O6uVox1AIVgkthxAY4bhLT xXa52HBx7iK7JAGVQeaVNGrcG+yeXe4V8j2O2XCuBwaWStmOJL+CGiJyf9AHOPMCG7A9fc qaYAAETGdi01+E+dUV8Un9aQf2EpDg1SLIOExJLYc6sQvIstEnBnJkBYmrpMJv4YmdMXPa VLxX33a/xZebgNLcKMJsxAUp5yiITOSvnXhgDj6V/Zaqn6N8nwRzEF8EhaGb+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645352217; a=rsa-sha256; cv=none; b=dM6YZ+BKxJO9QknpnUkvX8bUL084fOu+PCpe/GJT16rdXBUByNs0eqX+UKHSTTVGqVjego 3rbsQtir9alGw3KJP9mCLPsMammXwGDPi3j1bl03vErXVGr2gQk3oiDGZ+IWn+abhY2qSz mAi26HneaK1If4tvMxy+mijCZvqMeMl79/f3scl6PdeGonMA6U7KeEKfsqJ6am1nm1oucp SYaP3VyPVEqgvG646qdTm56tblS8qqBYZU+iiIHpqKGYpv/ZmOJY/bWaBTKpGeM/6BCkgQ 2pvOFwjYvN6IPTZCoz5wh+4cu0LSXRn5uJ0+mPgx87dO3bi9193mTGXBGKhnmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="USEU0mY/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="USEU0mY/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9EC7417EA7 X-Spam-Score: -6.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: lUDMdgPmVXyf --=-JowSGBTQ500fWlrtHpxI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Justin Veilleux schreef op za 19-02-2022 om 18:12 [-0500]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #~(modify-phases %standard-phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (replace 'install > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Th= ere is no 'install' target, we must install xmrig > manually > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lamb= da* (#:key outputs #:allow-other-keys) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (use-modules (guix build utils)) 'use-modules' currently only behaves well on the top-level, I recommend moving it into #:modules (see e.g. glibc). > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (install-file "xmrig" (string-append (assoc-ref > outputs "out") "/bin")) This can be simplified a little by replacing (assoc-ref outputs "out") --> #$output. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 #t))))) Phases don't have to return #t anymore, this can be removed. > +=C2=A0=C2=A0=C2=A0 (home-page "https://xmrig.com/") > +=C2=A0=C2=A0=C2=A0 (synopsis "XMR miner") I think =E2=80=98Monero miner=E2=80=99 would be more descriptive. > +=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0 "XMRig is a high performance, open source, cros= s platform > +RandomX, KawPow, CryptoNight, AstroBWT and GhostRider unified > CPU/GPU miner > +and RandomX benchmark.") This notes many positive qualities of XMRig, but ignores the negative quantities. Perhaps you could add something about high energy consumption? (See recent thread =E2=80=98Excessively energy-consuming soft= ware considered malware?=E2=80=99 on guix-devel (not yet on lists.gnu.org apparently).) (I'm assuming here the situation is the same as for Bitcoin, but I don't actually know if this is the case.) > +=C2=A0=C2=A0=C2=A0 (license license:gpl3))) Looking at , it appears to be gpl3+. Greetings, Maxime. --=-JowSGBTQ500fWlrtHpxI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhIUhBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qSnAP9LzVrFi6ThYkUwoKD64s/bSg0y a7xdh+WvUljJDaG56gD+PCZ4SEv6SzaZ63bRp7gvp2XPZ7PDXIZ0eR+BnA+88QM= =zweV -----END PGP SIGNATURE----- --=-JowSGBTQ500fWlrtHpxI--