File tree Expand file tree Collapse file tree 2 files changed +21
-19
lines changed Expand file tree Collapse file tree 2 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 1- { IOKit
2- , buildGoModule
3- , fetchFromGitHub
4- , lib
5- , stdenv
1+ {
2+ buildGoModule ,
3+ fetchFromGitHub ,
4+ lib ,
5+ nix-update-script ,
6+ stdenv ,
67} :
78
89buildGoModule rec {
910 pname = "avalanchego" ;
10- version = "1.11.11 " ;
11+ version = "1.12.0-initial-poc.6 " ;
1112
1213 src = fetchFromGitHub {
1314 owner = "ava-labs" ;
14- repo = pname ;
15- rev = "v${ version } " ;
16- hash = "sha256-9NhwxB5AeGvQgZbjNu5WWHiP194ws7s1WDtCntLr//g =" ;
15+ repo = "avalanchego" ;
16+ rev = "refs/tags/ v${ version } " ;
17+ hash = "sha256-LBwmoegsBWC2xlTc3BJDxyYX58b+X7g5xl9vnThVHW0 =" ;
1718 } ;
1819
19- vendorHash = "sha256-A8Bf/KzTFvC/hFLU1k6M89649wjoqnIXRQ1uJaTj9YA=" ;
20- # go mod vendor has a bug, see: https://github.com/golang/go/issues/57529
20+ # https://github.com/golang/go/issues/57529
2121 proxyVendor = true ;
2222
23- buildInputs = lib . optionals stdenv . hostPlatform . isDarwin [ IOKit ] ;
23+ vendorHash = "sha256-slu0f0Y33aGuVpN5pZcRp9RJAXcLnZyUNO7pFdm+HrY=" ;
24+
2425
2526 subPackages = [ "main" ] ;
2627
@@ -34,12 +35,17 @@ buildGoModule rec {
3435 mv $out/bin/{main,${ pname } }
3536 '' ;
3637
37- meta = with lib ; {
38+ passthru . updateScript = nix-update-script { } ;
39+
40+ meta = {
3841 description = "Go implementation of an Avalanche node" ;
3942 homepage = "https://github.com/ava-labs/avalanchego" ;
4043 changelog = "https://github.com/ava-labs/avalanchego/releases/tag/v${ version } " ;
41- license = licenses . bsd3 ;
42- maintainers = with maintainers ; [ urandom qjoly ] ;
44+ license = lib . licenses . bsd3 ;
45+ maintainers = with lib . maintainers ; [
46+ urandom
47+ qjoly
48+ ] ;
4349 mainProgram = "avalanchego" ;
4450 } ;
4551}
Original file line number Diff line number Diff line change @@ -27895,10 +27895,6 @@ with pkgs;
2789527895
2789627896 av-98 = callPackage ../applications/networking/browsers/av-98 { };
2789727897
27898- avalanchego = callPackage ../applications/networking/avalanchego {
27899- inherit (darwin.apple_sdk.frameworks) IOKit;
27900- };
27901-
2790227898 avizo = callPackage ../applications/misc/avizo { };
2790327899
2790427900 avocode = callPackage ../applications/graphics/avocode { };
You can’t perform that action at this time.
0 commit comments