nixpkgs/pkgs/tools/security/kubesec/default.nix

29 lines
666 B
Nix
Raw Normal View History

2021-04-26 10:20:51 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "kubesec";
2021-05-28 07:41:47 +00:00
version = "2.11.1";
2021-04-26 10:20:51 +00:00
src = fetchFromGitHub {
owner = "controlplaneio";
repo = pname;
rev = "v${version}";
2021-05-28 07:41:47 +00:00
sha256 = "sha256-vT+SiSt9QoOkGbnPdKkzE8yehNJMa/3jYC+4h4QeNmw=";
2021-04-26 10:20:51 +00:00
};
2021-05-28 07:41:47 +00:00
vendorSha256 = "sha256-zfQu1EdwvR+LGmsbE8RA4pcOGgsukG1TMTCgPyNoVsc=";
2021-04-26 10:20:51 +00:00
# Tests wants to download additional files
doCheck = false;
meta = with lib; {
description = "Security risk analysis tool for Kubernetes resources";
homepage = "https://github.com/controlplaneio/kubesec";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}