mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
p2pool: init at 1.4
This commit is contained in:
parent
76f00f5db9
commit
4fa5db2775
43
pkgs/applications/misc/p2pool/default.nix
Normal file
43
pkgs/applications/misc/p2pool/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ stdenv
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, gss
|
||||
, hwloc
|
||||
, lib
|
||||
, libsodium
|
||||
, libuv
|
||||
, openssl
|
||||
, pkg-config
|
||||
, zeromq
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "p2pool";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SChernykh";
|
||||
repo = "p2pool";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-syeVRweQJTNzKVl9FuIQl36WwzoI/oV2ULZbSGiDkv0=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ libuv zeromq libsodium gss hwloc openssl ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -vD p2pool $out/bin/p2pool
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Decentralized pool for Monero mining";
|
||||
homepage = "https://github.com/SChernykh/p2pool";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ratsclub ];
|
||||
};
|
||||
}
|
@ -25762,6 +25762,8 @@ with pkgs;
|
||||
|
||||
musikcube = callPackage ../applications/audio/musikcube {};
|
||||
|
||||
p2pool = callPackage ../applications/misc/p2pool { };
|
||||
|
||||
pass2csv = python3Packages.callPackage ../tools/security/pass2csv {};
|
||||
|
||||
pass-secret-service = callPackage ../applications/misc/pass-secret-service { };
|
||||
|
Loading…
Reference in New Issue
Block a user