From 49a8c395d2acd107819b4f14f653a65fd104b01c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 22:51:16 +0200 Subject: [PATCH 1/2] cnspec: 10.10.0 -> 10.11.0 Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v10.10.0...v10.11.0 Changelog: https://github.com/mondoohq/cnspec/releases/tag/v10.11.0 --- pkgs/tools/security/cnspec/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/cnspec/default.nix b/pkgs/tools/security/cnspec/default.nix index e143b4b9bc77..6cfabb33d332 100644 --- a/pkgs/tools/security/cnspec/default.nix +++ b/pkgs/tools/security/cnspec/default.nix @@ -5,18 +5,18 @@ buildGoModule rec { pname = "cnspec"; - version = "10.10.0"; + version = "10.11.0"; src = fetchFromGitHub { owner = "mondoohq"; repo = "cnspec"; rev = "refs/tags/v${version}"; - hash = "sha256-6nWyLWBrnvdmyUiuWon+Lqtn/FzQ1mJ4rvoHH7sCsQY="; + hash = "sha256-z8pWAazoafyrsz3EmfhtHDBhmHHjkGFEIL5BftW79fg="; }; proxyVendor = true; - vendorHash = "sha256-LaYpyKJPvB++4tbNV4OEtwtU4t+0DQUIM4lMlKGjgDk="; + vendorHash = "sha256-6MVl8QuzxzcyFVP04ikO7B4Gk17e0TA4hxmL17OehCo="; subPackages = [ "apps/cnspec" From b57963e5f8d71b1b464496e7530a07caf25e25c7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 22:52:28 +0200 Subject: [PATCH 2/2] cnspec: format with nixfmt --- pkgs/tools/security/cnspec/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/security/cnspec/default.nix b/pkgs/tools/security/cnspec/default.nix index 6cfabb33d332..a88ead4f6f16 100644 --- a/pkgs/tools/security/cnspec/default.nix +++ b/pkgs/tools/security/cnspec/default.nix @@ -1,6 +1,7 @@ -{ lib -, buildGoModule -, fetchFromGitHub +{ + lib, + buildGoModule, + fetchFromGitHub, }: buildGoModule rec { @@ -18,9 +19,7 @@ buildGoModule rec { vendorHash = "sha256-6MVl8QuzxzcyFVP04ikO7B4Gk17e0TA4hxmL17OehCo="; - subPackages = [ - "apps/cnspec" - ]; + subPackages = [ "apps/cnspec" ]; ldflags = [ "-s" @@ -33,6 +32,9 @@ buildGoModule rec { homepage = "https://github.com/mondoohq/cnspec"; changelog = "https://github.com/mondoohq/cnspec/releases/tag/v${version}"; license = licenses.bsl11; - maintainers = with maintainers; [ fab mariuskimmina ]; + maintainers = with maintainers; [ + fab + mariuskimmina + ]; }; }