Loading pkgs/tools/security/grype/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -2,19 +2,18 @@ , buildGoModule , fetchFromGitHub , installShellFiles , openssl }: buildGoModule rec { pname = "grype"; version = "0.58.0"; version = "0.59.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; hash = "sha256-7yb6ufRoAB70hnoBv6ZwEtKeTJxxmWEknksCmM55eYE="; rev = "refs/tags/v${version}"; hash = "sha256-TAoF67Fxl0OUiQd48h786+lIsdEuk4C/zdeEO/DRX/k="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; Loading @@ -26,14 +25,19 @@ buildGoModule rec { find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; proxyVendor = true; vendorHash = "sha256-7i9/tufEUGVqNHP61pQuIK2tMdiBcs3vfFz1bzlHFKk="; vendorHash = "sha256-kRxKa3HUO2yvMai03voVvsprg/Kd01OtJQHJn3ECk58="; nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = [ openssl ]; subPackages = [ "." ]; excludedPackages = "test/integration"; Loading @@ -55,7 +59,6 @@ buildGoModule rec { ldflags+=" -X github.com/anchore/grype/internal/version.buildDate=$(cat SOURCE_DATE_EPOCH)" ''; nativeCheckInputs = [ openssl ]; preCheck = '' # test all dirs (except excluded) unset subPackages Loading Loading
pkgs/tools/security/grype/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -2,19 +2,18 @@ , buildGoModule , fetchFromGitHub , installShellFiles , openssl }: buildGoModule rec { pname = "grype"; version = "0.58.0"; version = "0.59.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; hash = "sha256-7yb6ufRoAB70hnoBv6ZwEtKeTJxxmWEknksCmM55eYE="; rev = "refs/tags/v${version}"; hash = "sha256-TAoF67Fxl0OUiQd48h786+lIsdEuk4C/zdeEO/DRX/k="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; Loading @@ -26,14 +25,19 @@ buildGoModule rec { find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; proxyVendor = true; vendorHash = "sha256-7i9/tufEUGVqNHP61pQuIK2tMdiBcs3vfFz1bzlHFKk="; vendorHash = "sha256-kRxKa3HUO2yvMai03voVvsprg/Kd01OtJQHJn3ECk58="; nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = [ openssl ]; subPackages = [ "." ]; excludedPackages = "test/integration"; Loading @@ -55,7 +59,6 @@ buildGoModule rec { ldflags+=" -X github.com/anchore/grype/internal/version.buildDate=$(cat SOURCE_DATE_EPOCH)" ''; nativeCheckInputs = [ openssl ]; preCheck = '' # test all dirs (except excluded) unset subPackages Loading