Skip to content

Commit 6dca1f4

Browse files
authored
ethstaker-deposit-cli: Init at 1.2.2 (nix-community#629)
1 parent 12af200 commit 6dca1f4

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
autoPatchelfHook,
3+
fetchurl,
4+
nix-update-script,
5+
stdenv,
6+
zlib,
7+
}:
8+
stdenv.mkDerivation rec {
9+
pname = "staking-deposit-cli";
10+
version = "1.2.2";
11+
12+
src = fetchurl {
13+
url = "https://github.com/eth-educators/ethstaker-deposit-cli/releases/download/v1.2.2/ethstaker_deposit-cli-b13dcb9-linux-amd64.tar.gz";
14+
hash = "sha256-BK8/T9L9zPSuBgq95HY3YioxEU2fLlPmJyKmlKTVsgY=";
15+
};
16+
17+
nativeBuildInputs = [autoPatchelfHook];
18+
19+
buildInputs = [zlib];
20+
21+
installPhase = ''
22+
runHook preInstall
23+
24+
mkdir -p $out/bin
25+
mv ./deposit $out/bin/deposit
26+
27+
runHook postInstall
28+
'';
29+
30+
passthru.updateScript = nix-update-script {};
31+
32+
meta = {
33+
description = "Secure key generation for deposits (ethstaker fork)";
34+
homepage = "https://github.com/ethstaker/ethstaker-deposit-cli/";
35+
mainProgram = "deposit";
36+
platforms = ["x86_64-linux"];
37+
};
38+
}

pkgs/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
eth-validator-watcher = callPackage2311 ./by-name/et/eth-validator-watcher {};
4141
ethdo = callPackage ./by-name/et/ethdo {inherit bls mcl;};
4242
ethereal = callPackage ./by-name/et/ethereal {};
43+
ethstaker-deposit-cli = callPackage ./by-name/et/ethstaker-deposit-cli {};
4344
evmc = callPackage ./by-name/ev/evmc {};
4445
foundry = callPackageUnstable ./by-name/fo/foundry {};
4546
foundry-bin = inputs.foundry-nix.defaultPackage.${system}.overrideAttrs (_oldAttrs: {

0 commit comments

Comments
 (0)