depot/third_party/nixpkgs/pkgs/tools/security/cnquery/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
965 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "cnquery";
version = "9.12.1";
src = fetchFromGitHub {
owner = "mondoohq";
repo = "cnquery";
rev = "v${version}";
hash = "sha256-ezk9HgNf4FBW/PEaNUhsb3/l1ChTC42F3slXXa8ZJp4=";
};
subPackages = [ "apps/cnquery" ];
vendorHash = "sha256-iycKyidVpdWeccK4RxENUxEFUmQKkIyyW1c3JFZ3gx4=";
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 ];
};
}