Unverified Commit ce4e6da3 authored by Guy Chronister's avatar Guy Chronister
Browse files

sensu-go: 6.11.0 -> 6.13.1

 - delete patch file since changes are upstreamed
parent 0a4b5842
Loading
Loading
Loading
Loading
+4 −11
Original line number Diff line number Diff line
@@ -14,26 +14,19 @@ let
    }:
    buildGoModule rec {
      inherit pname;
      version = "6.11.0";
      shortRev = "9587df6"; # for internal version info
      version = "6.13.1";
      shortRev = "591ed6e"; # for internal version info

      src = fetchFromGitHub {
        owner = "sensu";
        repo = "sensu-go";
        rev = "v${version}";
        sha256 = "sha256-Vcay8vUYLjV65g526btQX0+m5n/cRocIKx7C2LuWeP4=";
        sha256 = "sha256-VYdm1aNz1IXvDezrJB5yyViIWPl4zf4/xmkw2pm8gyk=";
      };

      inherit subPackages postInstall;

      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
      ];
      vendorHash = "sha256-32jz5CI94BZxMDo6Crc05DDvlXxMsldJpWvhfHLS37o=";

      doCheck = false;

+0 −1492

File deleted.

Preview size limit exceeded, changes collapsed.