avalanchego: 1.11.11 -> 1.12.0-initial-poc.6 (#351441)
This commit is contained in:
commit
3aea494127
@ -1,26 +1,27 @@
|
|||||||
{ IOKit
|
{
|
||||||
, buildGoModule
|
buildGoModule,
|
||||||
, fetchFromGitHub
|
fetchFromGitHub,
|
||||||
, lib
|
lib,
|
||||||
, stdenv
|
nix-update-script,
|
||||||
|
stdenv,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "avalanchego";
|
pname = "avalanchego";
|
||||||
version = "1.11.11";
|
version = "1.12.0-initial-poc.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ava-labs";
|
owner = "ava-labs";
|
||||||
repo = pname;
|
repo = "avalanchego";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-9NhwxB5AeGvQgZbjNu5WWHiP194ws7s1WDtCntLr//g=";
|
hash = "sha256-LBwmoegsBWC2xlTc3BJDxyYX58b+X7g5xl9vnThVHW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-A8Bf/KzTFvC/hFLU1k6M89649wjoqnIXRQ1uJaTj9YA=";
|
# https://github.com/golang/go/issues/57529
|
||||||
# go mod vendor has a bug, see: https://github.com/golang/go/issues/57529
|
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ];
|
vendorHash = "sha256-slu0f0Y33aGuVpN5pZcRp9RJAXcLnZyUNO7pFdm+HrY=";
|
||||||
|
|
||||||
|
|
||||||
subPackages = [ "main" ];
|
subPackages = [ "main" ];
|
||||||
|
|
||||||
@ -34,12 +35,17 @@ buildGoModule rec {
|
|||||||
mv $out/bin/{main,${pname}}
|
mv $out/bin/{main,${pname}}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "Go implementation of an Avalanche node";
|
description = "Go implementation of an Avalanche node";
|
||||||
homepage = "https://github.com/ava-labs/avalanchego";
|
homepage = "https://github.com/ava-labs/avalanchego";
|
||||||
changelog = "https://github.com/ava-labs/avalanchego/releases/tag/v${version}";
|
changelog = "https://github.com/ava-labs/avalanchego/releases/tag/v${version}";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with maintainers; [ urandom qjoly ];
|
maintainers = with lib.maintainers; [
|
||||||
|
urandom
|
||||||
|
qjoly
|
||||||
|
];
|
||||||
mainProgram = "avalanchego";
|
mainProgram = "avalanchego";
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -27895,10 +27895,6 @@ with pkgs;
|
|||||||
|
|
||||||
av-98 = callPackage ../applications/networking/browsers/av-98 { };
|
av-98 = callPackage ../applications/networking/browsers/av-98 { };
|
||||||
|
|
||||||
avalanchego = callPackage ../applications/networking/avalanchego {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
|
||||||
};
|
|
||||||
|
|
||||||
avizo = callPackage ../applications/misc/avizo { };
|
avizo = callPackage ../applications/misc/avizo { };
|
||||||
|
|
||||||
avocode = callPackage ../applications/graphics/avocode { };
|
avocode = callPackage ../applications/graphics/avocode { };
|
||||||
|
Loading…
Reference in New Issue
Block a user