Skip to content

Commit a68aa9f

Browse files
feat(packages): Add eradicate2 package
Co-authored-by: Martin Nikov <[email protected]>
1 parent bcfa767 commit a68aa9f

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

packages/all-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@
185185
};
186186

187187
inherit corepack-shims;
188+
189+
eradicate2 = callPackage ./eradicate2 { };
188190
}
189191
// lib.optionalAttrs hostPlatform.isLinux rec {
190192
kurtosis = callPackage ./kurtosis/default.nix { };

packages/eradicate2/default.nix

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
opencl-headers,
6+
ocl-icd,
7+
openssl,
8+
which,
9+
}:
10+
11+
stdenv.mkDerivation rec {
12+
pname = "eradicate2";
13+
version = "unstable-2025-08-05";
14+
15+
src = fetchFromGitHub {
16+
owner = "blocksense-network";
17+
repo = "ERADICATE2";
18+
rev = "e7b77b7174bc672718b528f4c85e4f799fe10903";
19+
hash = "sha256-fPnzkxtoBV2l6XpePK4SLovopUGg/jHAcnfmW1rjT8A=";
20+
};
21+
22+
buildInputs = lib.optionals stdenv.isLinux [
23+
opencl-headers
24+
ocl-icd
25+
openssl
26+
];
27+
28+
installPhase = ''
29+
install -Dm 755 ./build/eradicate2 $out/bin/eradicate2
30+
'';
31+
32+
meta = with lib; {
33+
description = "Vanity address generator for CREATE3 addresses";
34+
homepage = "https://github.com/1inch/ERADICATE3";
35+
license = licenses.unfree;
36+
mainProgram = "eradicate2";
37+
platforms = platforms.linux ++ platforms.darwin;
38+
};
39+
}

0 commit comments

Comments
 (0)