cnquery;: format with nixfmt

- refactor
This commit is contained in:
Fabian Affolter 2024-04-06 13:03:54 +02:00
parent 43efcc72be
commit 41f1e78ccb
1 changed files with 15 additions and 7 deletions

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
@ -10,7 +11,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "mondoohq";
repo = "cnquery";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-Dm001NDTi+KO3+OoF9f/X/m83KtqfnWmj0hZU6Zf71k=";
};
@ -18,11 +19,18 @@ buildGoModule rec {
vendorHash = "sha256-prtiCzIJizh0/viXwYylJc+GS2dVpNlBd3YvIDfltvs=";
ldflags = [
"-w"
"-s"
];
meta = with lib; {
description = "cloud-native, graph-based asset inventory";
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.
'';
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;