From 5e7840d676d48d9a57a93b3115cdebe7317c46a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 12:12:50 +0200 Subject: [PATCH] clair: 4.4.2 -> 4.4.4 --- pkgs/tools/admin/clair/default.nix | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/admin/clair/default.nix b/pkgs/tools/admin/clair/default.nix index 27cf2d03ccd0..fcf2b72a1422 100644 --- a/pkgs/tools/admin/clair/default.nix +++ b/pkgs/tools/admin/clair/default.nix @@ -1,23 +1,38 @@ -{ lib, buildGoModule, fetchFromGitHub, makeWrapper, rpm, xz }: +{ lib +, buildGoModule +, fetchFromGitHub +, makeWrapper +, rpm +, xz +}: buildGoModule rec { pname = "clair"; - version = "4.4.2"; + version = "4.4.4"; src = fetchFromGitHub { owner = "quay"; repo = pname; rev = "v${version}"; - sha256 = "sha256-6nlVcuWAp9lWji4ruAZ//D6iEbL+zSjLDX9bYyRfTQ8="; + hash = "sha256-QfNFms1OxKPk6vimagMFGWJSl9L7JEM1rIK5kNpZlfg="; }; - vendorSha256 = "sha256-35rUeDi+7xSI2kSk9FvtubxhZq5LePNoXC66dIy6gs8="; + vendorSha256 = "sha256-Y3eymnLVbDmisV3RDAYkV+I6kTe/CoG0yLvZBOrTfig="; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ + makeWrapper + ]; - subPackages = [ "cmd/clair" "cmd/clairctl" ]; + subPackages = [ + "cmd/clair" + "cmd/clairctl" + ]; - ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; + ldflags = [ + "-s" + "-w" + "-X main.Version=${version}" + ]; postInstall = '' wrapProgram $out/bin/clair \