Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
1018 B
Nix
40 lines
1018 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cnquery";
|
|
version = "12.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mondoohq";
|
|
repo = "cnquery";
|
|
tag = "v${version}";
|
|
hash = "sha256-/4T5Rncsk7aOS6Do2DyyLVim/dVNMTPUOnqZ6Isbj/I=";
|
|
};
|
|
|
|
subPackages = [ "apps/cnquery" ];
|
|
|
|
vendorHash = "sha256-mU3bVENWgMoD6BZzGpl8qN/MmnUUJT5s8XwvifFZ+ig=";
|
|
|
|
ldflags = [
|
|
"-w"
|
|
"-s"
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.bsl11;
|
|
maintainers = with lib.maintainers; [ mariuskimmina ];
|
|
};
|
|
}
|