mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
cnquery;: format with nixfmt
- refactor
This commit is contained in:
parent
43efcc72be
commit
41f1e78ccb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue