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+ src = fetchFromGitHub {
14+ owner = "blocksense-network" ;
15+ repo = "ERADICATE2" ;
16+ rev = "3f22332b81f36ef021b016b1b54e8540db3fdc91" ;
17+ hash = "sha256-A38nAtQfyxFPmxiojnoj6xOnfWK+FHKucYDuP/7/tjQ=" ;
18+ } ;
19+
20+ buildInputs = lib . optionals stdenv . isLinux [
21+ opencl-headers
22+ ocl-icd
23+ ] ;
24+
25+ postPatch = ''
26+ patchShebangs --build ./embed-in-cpp.sh
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 CREATE2 addresses" ;
35+ homepage = "https://github.com/blocksense-network/ERADICATE2" ;
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