Anthony Roussel 2023-09-04 12:27:46 +02:00
parent 4185735cac
commit f5de44f0ea
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -2,25 +2,33 @@
buildGoModule rec {
pname = "goss";
version = "0.3.18";
# Don't forget to update dgoss to the same version.
version = "0.4.1";
src = fetchFromGitHub {
owner = "aelsabbahy";
owner = "goss-org";
repo = pname;
rev = "v${version}";
sha256 = "01ssc7rnnwpyhjv96qy8drsskghbfpyxpsahk8s62lh8pxygynhv";
rev = "refs/tags/v${version}";
hash = "sha256-dpMTUBMEG5tDi7E6ZRg1KHqIj5qDlvwfwJEgq/5z7RE=";
};
vendorSha256 = "sha256-zlQMVn4w6syYmntxpeiIc1UTbFrIJzOMg0RVDCICTM8=";
vendorHash = "sha256-n+k7f9e2iqf4KrcDkzX0CWk+Bq2WE3dyUEid4PTP1FA=";
CGO_ENABLED = 0;
ldflags = [
"-s" "-w" "-X main.version=v${version}"
];
checkFlags = [
# Prometheus tests are skipped upstream
# See https://github.com/goss-org/goss/blob/master/ci/go-test.sh
"-skip" "^TestPrometheus"
];
meta = with lib; {
homepage = "https://github.com/aelsabbahy/goss/";
changelog = "https://github.com/aelsabbahy/goss/releases/tag/v${version}";
homepage = "https://github.com/goss-org/goss/";
changelog = "https://github.com/goss-org/goss/releases/tag/v${version}";
description = "Quick and easy server validation";
longDescription = ''
Goss is a YAML based serverspec alternative tool for validating a servers configuration.