Merge pull request #216816 from nathanruiz/p2pool

This commit is contained in:
Sandro 2023-04-01 20:35:14 +02:00 committed by GitHub
commit f6abbb7c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,13 +19,13 @@ let
in
stdenv.mkDerivation rec {
pname = "p2pool";
version = "2.7";
version = "3.1";
src = fetchFromGitHub {
owner = "SChernykh";
repo = "p2pool";
rev = "v${version}";
sha256 = "sha256-j3SVwat/LGw/iGcyNn8acR29Ob/WXDKyeCfDTsH+gxA=";
sha256 = "sha256-yHxg/9QhaDNlUFzylftsJEk+pJoSoTfA0rJfcolBdTs=";
fetchSubmodules = true;
};
@ -33,6 +33,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libuv zeromq libsodium gss hwloc openssl curl ]
++ lib.optionals stdenv.isDarwin [ Foundation ];
cmakeFlags = ["-DWITH_LTO=OFF"];
installPhase = ''
runHook preInstall