mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #72264 from thefloweringash/sensu-go-update
sensu-go: 5.11.0 -> 5.14.1
This commit is contained in:
commit
1d5c71759b
@ -1,23 +1,25 @@
|
|||||||
{ buildGoPackage, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
generic = { subPackages, pname, postInstall ? "" }:
|
generic = { subPackages, pname, postInstall ? "" }:
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "5.11.0";
|
version = "5.14.1";
|
||||||
shortRev = "dd8f160"; # for internal version info
|
shortRev = "1f6d16b"; # for internal version info
|
||||||
|
|
||||||
goPackagePath = "github.com/sensu/sensu-go";
|
goPackagePath = "github.com/sensu/sensu-go";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sensu";
|
owner = "sensu";
|
||||||
repo = "sensu-go";
|
repo = "sensu-go";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "05dx0nxcjl6fy68br2a37j52iz71kvqnqp29swcif2nwvq7w8mxx";
|
sha256 = "1fhvw2hrn2zqpz3ypsx6i1zrn83pdifvsyzpbhzxmff6l9a290bq";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit subPackages postInstall;
|
inherit subPackages postInstall;
|
||||||
|
|
||||||
|
modSha256 = "0c0cj0ylhifyb7l9kjmgdlfzcz8528fzw8kr3c5y7j5h6pih06sy";
|
||||||
|
|
||||||
buildFlagsArray = let
|
buildFlagsArray = let
|
||||||
versionPkg = "github.com/sensu/sensu-go/version";
|
versionPkg = "github.com/sensu/sensu-go/version";
|
||||||
in ''
|
in ''
|
||||||
|
Loading…
Reference in New Issue
Block a user