p2pool: 2.7 -> 3.1

This commit is contained in:
Nathan Ruiz 2023-02-17 14:57:23 +00:00
parent 324b8d7796
commit d86c897423

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