goss: 0.4.4 -> 0.4.6

https://github.com/goss-org/goss/compare/v0.4.4...v0.4.6
This commit is contained in:
Anthony Roussel 2024-03-24 12:26:32 +01:00
parent 8694bf0696
commit b110971a7a
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
1 changed files with 7 additions and 10 deletions

View File

@ -16,30 +16,27 @@ buildGoModule rec {
pname = "goss";
# Don't forget to update dgoss to the same version.
version = "0.4.4";
version = "0.4.6";
src = fetchFromGitHub {
owner = "goss-org";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-dH052t30unWmrFTZK5niXNvbg1nngzWY7mwuZr4ULbM=";
hash = "sha256-4LJD70Y6nxRWdcaPe074iP2MVUMDgoTOwWbC1JecVcI=";
};
vendorHash = "sha256-4fEEz/c/xIeWxIzyyjwgSn2/2FWLA2tIedK65jGgYhY=";
vendorHash = "sha256-5/vpoJZu/swNwQQXtW6wuEVCtOq6HsbFywuipaiwHfs=";
CGO_ENABLED = 0;
ldflags = [
"-s" "-w" "-X main.version=v${version}"
"-s"
"-w"
"-X main.version=v${version}"
];
nativeBuildInputs = [ makeWrapper ];
checkFlags = [
# Prometheus tests are skipped upstream
# See https://github.com/goss-org/goss/blob/master/ci/go-test.sh
"-skip" "^TestPrometheus"
];
postInstall = let
runtimeDependencies = [ bash getent ]
++ lib.optionals stdenv.isLinux [ systemd ];