cnspec: 12.19.2 -> 12.20.1 (#485161)
This commit is contained in:
@@ -4,37 +4,37 @@
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "cnspec";
|
||||
version = "12.19.2";
|
||||
version = "12.20.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mondoohq";
|
||||
repo = "cnspec";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tP3JtuiQJeLmN5YbRgUiuzCvtE690n3O2jHCWbxcBLE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tckUExRppqjpO2yS4J/+8w8SE4b6zKWjFY6xlpVFcKE=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-AyhnFjUzbT54JhmUEX045EiTCLuMTqXiA/ofl7HpJQM=";
|
||||
vendorHash = "sha256-z6Y4d76TaormYbtstm1uytfXGfoHQ+9/6bw6uyRYsP8=";
|
||||
|
||||
subPackages = [ "apps/cnspec" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=go.mondoo.com/cnspec.Version=${version}"
|
||||
"-X=go.mondoo.com/cnspec.Version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Open source, cloud-native security and policy project";
|
||||
homepage = "https://github.com/mondoohq/cnspec";
|
||||
changelog = "https://github.com/mondoohq/cnspec/releases/tag/v${version}";
|
||||
changelog = "https://github.com/mondoohq/cnspec/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsl11;
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
mariuskimmina
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user