mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #526007
40 lines
1011 B
Nix
40 lines
1011 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cnquery";
|
|
version = "12.23.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mondoohq";
|
|
repo = "mql";
|
|
tag = "v${version}";
|
|
hash = "sha256-CTg2jfpCLTYuRx5R+9Si0Ig1NT1ZGXMFbcPPa8CbMKY=";
|
|
};
|
|
|
|
subPackages = [ "apps/cnquery" ];
|
|
|
|
vendorHash = "sha256-yL34BgWzDrd4SxJvij56cmnfY51uJ/ax+ENtdUxS0aw=";
|
|
|
|
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/mql/releases/tag/v${version}";
|
|
license = lib.licenses.bsl11;
|
|
maintainers = with lib.maintainers; [ mariuskimmina ];
|
|
};
|
|
}
|