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

View File

@ -16,30 +16,27 @@ buildGoModule rec {
pname = "goss"; pname = "goss";
# Don't forget to update dgoss to the same version. # Don't forget to update dgoss to the same version.
version = "0.4.4"; version = "0.4.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "goss-org"; owner = "goss-org";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; 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; CGO_ENABLED = 0;
ldflags = [ ldflags = [
"-s" "-w" "-X main.version=v${version}" "-s"
"-w"
"-X main.version=v${version}"
]; ];
nativeBuildInputs = [ makeWrapper ]; 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 postInstall = let
runtimeDependencies = [ bash getent ] runtimeDependencies = [ bash getent ]
++ lib.optionals stdenv.isLinux [ systemd ]; ++ lib.optionals stdenv.isLinux [ systemd ];