File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 185185 } ;
186186
187187 inherit corepack-shims ;
188+
189+ eradicate2 = callPackage ./eradicate2 { } ;
188190 }
189191 // lib . optionalAttrs hostPlatform . isLinux rec {
190192 kurtosis = callPackage ./kurtosis/default.nix { } ;
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchFromGitHub ,
5+ opencl-headers ,
6+ ocl-icd ,
7+ } :
8+
9+ stdenv . mkDerivation rec {
10+ pname = "eradicate2" ;
11+ version = "unstable-2025-08-05" ;
12+
13+ postPatch = ''
14+ patchShebangs --build ./embed-in-cpp.sh
15+ '' ;
16+
17+ src = fetchFromGitHub {
18+ owner = "blocksense-network" ;
19+ repo = "ERADICATE2" ;
20+ rev = "3f22332b81f36ef021b016b1b54e8540db3fdc91" ;
21+ hash = "sha256-A38nAtQfyxFPmxiojnoj6xOnfWK+FHKucYDuP/7/tjQ=" ;
22+ } ;
23+
24+ buildInputs = lib . optionals stdenv . isLinux [
25+ opencl-headers
26+ ocl-icd
27+ ] ;
28+
29+ installPhase = ''
30+ install -Dm 755 ./build/eradicate2 $out/bin/eradicate2
31+ '' ;
32+
33+ meta = with lib ; {
34+ description = "Vanity address generator for CREATE3 addresses" ;
35+ homepage = "https://github.com/1inch/ERADICATE3" ;
36+ license = licenses . unfree ;
37+ mainProgram = "eradicate2" ;
38+ platforms = platforms . linux ++ platforms . darwin ;
39+ } ;
40+ }
You can’t perform that action at this time.
0 commit comments