conftest: 0.32.1 -> 0.33.0

This commit is contained in:
06kellyjac 2022-07-06 15:44:34 +01:00 committed by superherointj
parent d50fffb079
commit c1f05af680

View File

@ -2,15 +2,15 @@
buildGoModule rec {
pname = "conftest";
version = "0.32.1";
version = "0.33.0";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "conftest";
rev = "v${version}";
sha256 = "sha256-lmz5ALGvTwPiz0PaGYlL3UTd6tYgO5rpUHXFoLKgS7E=";
sha256 = "sha256-0MS2Ra+3RhBLE3qWfoMihc1PvyK4wzsoeFIKPucjlJQ=";
};
vendorSha256 = "sha256-Y0S759iPSU7kboa9GxC56QR3caOG9gEmEG44B1Lp3w4=";
vendorSha256 = "sha256-oYAU2YuIAxwy/uOkOEgCKazSJlttKdHV+KUYV0WXOn8=";
ldflags = [
"-s"
@ -21,7 +21,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
preCheck = ''
export HOME="$TMPDIR"
export HOME="$(mktemp -d)"
'';
postInstall = ''
@ -33,7 +33,7 @@ buildGoModule rec {
doInstallCheck = true;
installCheckPhase = ''
export HOME="$TMPDIR"
export HOME="$(mktemp -d)"
$out/bin/conftest --version | grep ${version} > /dev/null
'';