File tree Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 7373 bls = callPackage2311 ./bls { } ;
7474 mcl = callPackage2311 ./mcl { } ;
7575 } ;
76- ssvnode = callPackage2311 ./ssvnode {
76+ ssvnode = callPackage ./ssvnode {
7777 bls = callPackage2311 ./bls { } ;
7878 mcl = callPackage2311 ./mcl { } ;
7979 } ;
Original file line number Diff line number Diff line change 11{
22 bls ,
3- mcl ,
4- buildGo120Module ,
3+ buildGoModule ,
54 fetchFromGitHub ,
5+ mcl ,
6+ openssl ,
67} :
7- buildGo120Module rec {
8+ buildGoModule rec {
89 pname = "ssv" ;
9- version = "1.3.8 " ;
10+ version = "2.0.0 " ;
1011
1112 src = fetchFromGitHub {
12- owner = "bloxapp " ;
13+ owner = "ssvlabs " ;
1314 repo = "${ pname } " ;
14- rev = "v ${ version } " ;
15- hash = "sha256-5JUaJwo8snUrw/Uhk23uiGr+YV4UogiyvLGXXPiYICY =" ;
15+ rev = "e39f1d0ec67c47f6ba437d83367aba0d2b4d34dd " ;
16+ hash = "sha256-2/o+FyfJcX/Av82O3DV3gSkLHDtJCoUw2+zpozyr628 =" ;
1617 } ;
1718
18- vendorHash = "sha256-paFwSCVQEEkZzd/QHGBfaPvDwSAXYxvS5Cq+N18QTIU =" ;
19+ vendorHash = "sha256-lr62X/Fo97CzxKgwdNCv3OELa6yMSEQBOs2cG53rYJY =" ;
1920
2021 buildInputs = [ bls mcl ] ;
2122
23+ ldflags = [
24+ "-X main.Commit=${ src . rev } "
25+ "-X main.Version=v${ version } "
26+ ] ;
27+
28+ # Dynamic loading of openssl
29+ # See: https://github.com/ssvlabs/ssv/blob/v2.0.0-unstable.0/operator/keys/rsa_linux.go#L30
30+ postFixup = ''
31+ patchelf \
32+ --add-rpath ${ openssl . out } /lib \
33+ $out/bin/ssvnode
34+ '' ;
35+
2236 subPackages = [ "cmd/ssvnode" ] ;
2337
2438 meta = {
2539 description = "Secret-Shared-Validator(SSV) for ethereum staking" ;
26- homepage = "https://github.com/bloxapp /ssv" ;
40+ homepage = "https://github.com/ssvlabs /ssv" ;
2741 platforms = [ "x86_64-linux" ] ;
2842 mainProgram = "ssvnode" ;
2943 } ;
You can’t perform that action at this time.
0 commit comments