mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
conftest: 0.32.1 -> 0.33.0
This commit is contained in:
parent
d50fffb079
commit
c1f05af680
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue