p2pool: add update script

This commit is contained in:
Louis Bettens 2022-02-02 11:46:13 +01:00
parent efeefb2af1
commit 02ad5efebf

View File

@ -6,6 +6,7 @@
, lib
, libsodium
, libuv
, nix-update-script
, openssl
, pkg-config
, zeromq
@ -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";