mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cnquery";
|
|
version = "11.31.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mondoohq";
|
|
repo = "cnquery";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-wP6MburjIRevE2nfO6p7hPAmJ390v7y7r/DgVpwkVlo=";
|
|
};
|
|
|
|
subPackages = [ "apps/cnquery" ];
|
|
|
|
vendorHash = "sha256-OxvC/JUXu5DLMv3VrcbJbfgEkkzTJEPR2ig/8YCff9U=";
|
|
|
|
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 ];
|
|
};
|
|
}
|