Skip to content

Commit

Permalink
rocketpoold: init at 1.13.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ekimber committed Jul 22, 2024
1 parent 5e1b6cd commit 0c215b9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
prysm = callPackage ./prysm {inherit bls blst;};
reth = callPackageUnstable ./reth {};
rocketpool = callPackage ./rocketpool {};
rocketpoold = callPackage ./rocketpoold {inherit bls blst;};
rotki-bin = callPackage2311 ./rotki-bin {};
sedge = callPackage2311 ./sedge {
bls = callPackage2311 ./bls {};
mcl = callPackage2311 ./mcl {};
};

slither = callPackage ./slither {};
snarkjs = callPackage ./snarkjs {};
ssvnode = callPackage2311 ./ssvnode {
Expand Down
36 changes: 36 additions & 0 deletions pkgs/rocketpoold/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
bls,
blst,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "rocketpool";
version = "1.13.7";

src = fetchFromGitHub {
owner = "rocket-pool";
repo = "smartnode";
rev = "v${version}";
hash = "sha256-yv04dsLhHG8hI/xoFMUnJo2UeXDjePuYXHjS0NCnypY=";
};

vendorHash = "sha256-dDup2mCx2WcrW5XLpZOe7skWRyQKoQttMb2jrLVnu4E=";

buildInputs = [bls blst];

subPackages = ["rocketpool"];

CGO_CFLAGS = "-O -D__BLST_PORTABLE__";
CGO_ENABLED = 1;
postInstall = ''
mv $out/bin/rocketpool $out/bin/rocketpoold
'';

meta = {
description = "Rocket Pool Daemon";
homepage = "https://github.com/rocket-pool/smartnode";
mainProgram = "rocketpoold";
platforms = ["aarch64-linux" "x86_64-linux"];
};
}

0 comments on commit 0c215b9

Please sign in to comment.