depot/third_party/nixpkgs/pkgs/tools/security/cnquery/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

39 lines
1 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "cnquery";
version = "11.13.2";
src = fetchFromGitHub {
owner = "mondoohq";
repo = "cnquery";
rev = "refs/tags/v${version}";
hash = "sha256-2ESHNLbIrXbOLa8zWlcpxfbNQY0a3pLbw/M0W5peRyo=";
};
subPackages = [ "apps/cnquery" ];
vendorHash = "sha256-BQolVU05o2G9pVmncsJ42OSY9YXHaBY/JV8SNN0GOhY=";
ldflags = [
"-w"
"-s"
];
meta = with lib; {
description = "Cloud-native, graph-based asset inventory";
longDescription = ''
cnquery is a cloud-native tool for querying your entire fleet. It answers thousands of
questions about your infrastructure and integrates with over 300 resources across cloud
accounts, Kubernetes, containers, services, VMs, APIs, and more.
'';
homepage = "https://mondoo.com/cnquery";
changelog = "https://github.com/mondoohq/cnquery/releases/tag/v${version}";
license = licenses.bsl11;
maintainers = with maintainers; [ mariuskimmina ];
};
}