mirror of https://github.com/SChernykh/p2pool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
630 B
30 lines
630 B
3 years ago
|
{
|
||
|
description = "Decentralized pool for Monero mining.";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs }: {
|
||
|
packages.x86_64-linux.p2pool = with import nixpkgs { system = "x86_64-linux";}; stdenv.mkDerivation {
|
||
|
pname = "p2pool";
|
||
|
version = "0.0.1";
|
||
|
src = self;
|
||
|
|
||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||
|
|
||
|
buildInputs = [
|
||
|
libuv zeromq
|
||
|
libsodium gss
|
||
|
];
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
cp -r ./p2pool $out/bin/
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
defaultPackage.x86_64-linux = self.packages.x86_64-linux.p2pool;
|
||
|
};
|
||
|
}
|