sensu-go-backend: 6.9.2 -> 6.11.0
https://github.com/sensu/sensu-go/blob/v6.11.0/CHANGELOG-6.md#6110---2024-01-31
This commit is contained in:
parent
4cba8b53da
commit
66904f8e99
2 changed files with 1505 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
1492
pkgs/servers/monitoring/sensu-go/fix-go-version-error.patch
Normal file
1492
pkgs/servers/monitoring/sensu-go/fix-go-version-error.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue