Merge pull request #303488 from teutat3s/sensu-go-6.11.0

sensu-go-backend: 6.9.2 -> 6.11.0
This commit is contained in:
Pol Dellaiera 2024-04-18 17:38:44 +02:00 committed by GitHub
commit bc279bbacf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1505 additions and 6 deletions

View File

@ -1,22 +1,29 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGo121Module, fetchFromGitHub, lib }:
let
generic = { subPackages, pname, postInstall ? "", mainProgram }:
buildGoModule rec {
buildGo121Module rec {
inherit pname;
version = "6.9.2";
shortRev = "3a1ac58"; # for internal version info
version = "6.11.0";
shortRev = "9587df6"; # for internal version info
src = fetchFromGitHub {
owner = "sensu";
repo = "sensu-go";
rev = "v${version}";
sha256 = "sha256-Xd15fkoSmQXbkyEMsBvc8ewLvn+wlsZoclfDjarp1FQ=";
sha256 = "sha256-Vcay8vUYLjV65g526btQX0+m5n/cRocIKx7C2LuWeP4=";
};
inherit subPackages postInstall;
vendorHash = "sha256-zrwTdMlDfG1RudOfV52qOP9NMU3/XYb5TND6xyglJ0I=";
vendorHash = "sha256-ADqU/ZJiyZ5hAkqFXExmA8fSZxzhx42QptYu3TIlgBc=";
patches = [
# Without this, we get error messages like:
# vendor/golang.org/x/sys/unix/mremap.go:41:10: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
# The patch was generated by changing "go 1.16" to "go 1.21" and executing `go mod tidy`.
./fix-go-version-error.patch
];
doCheck = false;

File diff suppressed because it is too large Load Diff