mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
opentelemetry-collector-builder: 0.101.0 -> 0.112.0 (#353047)
This commit is contained in:
commit
79b37b49bc
@ -5,17 +5,17 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "ocb";
|
||||
version = "0.101.0";
|
||||
version = "0.112.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-collector";
|
||||
rev = "cmd/builder/v${version}";
|
||||
hash = "sha256-Ucp00OjyPtHA6so/NOzTLtPSuhXwz6A2708w2WIZb/E=";
|
||||
hash = "sha256-0eL9J+PrURiNkL6CzUIlcvjyZor8iS9vKX8j0srLlZ8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/cmd/builder";
|
||||
vendorHash = "sha256-MTwD9xkrq3EudppLSoONgcPCBWlbSmaODLH9NtYgVOk=";
|
||||
vendorHash = "sha256-vZsGSLdzKa4sA/N3RG6Kwn8tMoIIhPJ6uAkM4pheitU=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
ldflags = [
|
||||
@ -24,10 +24,12 @@ buildGoModule rec {
|
||||
"-X go.opentelemetry.io/collector/cmd/builder/internal.version=${version}"
|
||||
];
|
||||
|
||||
# The TestGenerateAndCompile tests download new dependencies for a modified go.mod. Nix doesn't allow network access so skipping.
|
||||
checkFlags = [ "-skip TestGenerateAndCompile" ];
|
||||
# Some tests download new dependencies for a modified go.mod. Nix doesn't allow network access so skipping.
|
||||
checkFlags = [
|
||||
"-skip TestGenerateAndCompile|TestReplaceStatementsAreComplete|TestVersioning"
|
||||
];
|
||||
|
||||
# Rename the to ocb (it's generated as "builder")
|
||||
# Rename to ocb (it's generated as "builder")
|
||||
postInstall = ''
|
||||
mv $out/bin/builder $out/bin/ocb
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user