witness: 0.1.6 -> 0.1.7

This commit is contained in:
06kellyjac 2022-04-09 18:50:22 +01:00
parent 9e43c553f1
commit 003f0f801a

View file

@ -2,16 +2,15 @@
buildGoModule rec {
pname = "witness";
version = "0.1.6";
version = "0.1.7";
src = fetchFromGitHub {
owner = "testifysec";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/35hIA6Wm/F5hwyLZbt4JXpwWISWbzVAWrX29r6pejY=";
sha256 = "sha256-fkY3/UmHzggmysrae8VCY3NMBxC/LcWoQcXBELEzJlM=";
};
vendorSha256 = "sha256-vXDsHHJknw9hsHx1mJA2c0CWwFbRXjCjitNWPh6V4yw=";
vendorSha256 = "sha256-ajWIjQXLvFQB1AVYyGjyWMrWIyue/d1uU5HHNf4/UcU=";
nativeBuildInputs = [ installShellFiles ];
@ -38,6 +37,14 @@ buildGoModule rec {
--zsh <($out/bin/witness completion zsh)
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/witness --help
$out/bin/witness version | grep "v${version}"
runHook postInstallCheck
'';
meta = with lib; {
description = "A pluggable framework for software supply chain security. Witness prevents tampering of build materials and verifies the integrity of the build process from source to target";
longDescription = ''