Merge pull request #157834 from lourkeur/update/p2pool

p2pool: 1.4 -> 1.6
This commit is contained in:
Bobby Rong 2022-02-07 21:20:11 +08:00 committed by GitHub
commit b7335c2f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
, lib
, libsodium
, libuv
, nix-update-script
, openssl
, pkg-config
, zeromq
@ -13,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "p2pool";
version = "1.4";
version = "1.6";
src = fetchFromGitHub {
owner = "SChernykh";
repo = "p2pool";
rev = "v${version}";
sha256 = "sha256-syeVRweQJTNzKVl9FuIQl36WwzoI/oV2ULZbSGiDkv0=";
sha256 = "sha256-SumAHliY2cX2Q1umyw0ljCFmgnGKKHqoEFGglNJ/Bfg=";
fetchSubmodules = true;
};
@ -34,6 +35,12 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "Decentralized pool for Monero mining";
homepage = "https://github.com/SChernykh/p2pool";