boundary: 0.1.6 -> 0.1.7

Also add installCheck
This commit is contained in:
06kellyjac 2021-02-17 07:44:20 +00:00
parent 43e4e67696
commit 9e53477ee4

View File

@ -14,12 +14,12 @@ let
in
stdenv.mkDerivation rec {
pname = "boundary";
version = "0.1.6";
version = "0.1.7";
src = fetchsrc version {
x86_64-linux = "sha256-6Pwl8smp6ZX57hzPc7e8gVSqnPHse+RvhU2xprG/2dg=";
aarch64-linux = "sha256-/ZhLZ/Sj0h4HvOJthe83Y5Hqpz1UYiaQZxuyR8loI44=";
x86_64-darwin = "sha256-s+XoEmup/jvIf+jGI3OPIGFDwsWbgE1yuySLWsC3jJE=";
x86_64-linux = "sha256-cSD9V/Hj/eEc6k+LMNRnSEA94fA6bQUfCgA+XdqAR4k=";
aarch64-linux = "sha256-MG97PhG/t1rdmTF3n2YHYsTo8VODCaY3cfnv8YHgAY8=";
x86_64-darwin = "sha256-p60UiIy9DGx7AaEvmyo4FLa0Z67MQRNJkw1nHaM6eww=";
};
dontConfigure = true;
@ -29,6 +29,14 @@ stdenv.mkDerivation rec {
install -D boundary $out/bin/boundary
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/boundary --help
$out/bin/boundary version
runHook postInstallCheck
'';
dontPatchELF = true;
dontPatchShebangs = true;