File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 136136 # Polkadot
137137 inherit polkadot polkadot-fast ;
138138
139- avalanche-cli = callPackage ./avalanche-cli/default.nix { } ;
139+ avalanche-cli = callPackage ./avalanche-cli/default.nix {
140+ inherit blst ;
141+ } ;
140142
141143 inherit corepack-shims ;
142144 }
Original file line number Diff line number Diff line change 22 lib ,
33 buildGoModule ,
44 fetchFromGitHub ,
5+ blst ,
6+ libusb1 ,
57} :
68buildGoModule rec {
79 pname = "avalanche-cli" ;
8- version = "1.4.2 " ;
10+ version = "unstable-2024-11-23 " ;
911
1012 src = fetchFromGitHub {
1113 owner = "ava-labs" ;
1214 repo = "avalanche-cli" ;
13- rev = "v ${ version } " ;
14- hash = "sha256-KhUPQVOHHbRNhnEzHVPSB1JMgtbJKsm2NYMtIAK8kk4 =" ;
15+ rev = "6debe4169dce2c64352d8c9d0d0acac49e573661 " ;
16+ hash = "sha256-kYEgKpR6FM3f6Lq3Wxhi8MVh8ojxyqFYgjeu2E8lNcs =" ;
1517 } ;
1618
17- doCheck = false ;
1819 proxyVendor = true ;
19- vendorHash = "sha256-vhytojvmCOakN9RubjKkFnfA8tzOsOb+hKuACeQGSk4=" ;
20+ vendorHash = "sha256-FLuu2Q9O4kPtdT1LWaClv+96G0m0PFpZx22506V+Sts=" ;
21+
22+ doCheck = false ;
23+
24+ ldflags = [
25+ "-X=github.com/ava-labs/avalanche-cli/cmd.Version=${ version } "
26+ ] ;
27+
28+ buildInputs = [ blst libusb1 ] ;
2029
21- meta = with lib ; {
22- description = "Avalanche CLI is a command line tool that gives developers access to everything Avalanche. " ;
30+ meta = {
31+ description = "" ;
2332 homepage = "https://github.com/ava-labs/avalanche-cli" ;
24- license = licenses . lgpl3 ;
33+ # FIXME: nix-init did not find a license
34+ maintainers = with lib . maintainers ; [ ] ;
35+ mainProgram = "avalanche-cli" ;
2536 } ;
2637}
You can’t perform that action at this time.
0 commit comments