versitygw: 1.6.0 -> 1.7.0 (#542280)

This commit is contained in:
Adam C. Stephens
2026-07-17 13:19:58 +00:00
committed by GitHub

View File

@@ -8,21 +8,22 @@
buildGoModule (finalAttrs: {
pname = "versitygw";
version = "1.6.0";
version = "1.7.0";
src = fetchFromGitHub {
owner = "versity";
repo = "versitygw";
tag = "v${finalAttrs.version}";
hash = "sha256-vy8wveTwK8lXpZlKyeUc/3qpQZ96vExJCfw/RiLt2Eo=";
hash = "sha256-O3rXqg0wSAb4YXxgXqf42oo9sJinZhZ1U6e5WCnvo9I=";
};
vendorHash = "sha256-/vLR7XZWzzj35rXLj7EJ3H3WP0RX3qBqIn/PlkM/j/k=";
vendorHash = "sha256-8WrGFLIoXmHQmyFGhOjBAFkaYZ1xhx0aldpyZULfAL4=";
subPackages = [ "./cmd/versitygw" ];
# Require access to online S3 services
doCheck = false;
excludedPackages = [
"plugins/noop"
"tests/checker"
"tests/rest_scripts"
];
# Needed for "versitygw --version" to not show placeholders
ldflags = [
@@ -31,10 +32,11 @@ buildGoModule (finalAttrs: {
"-X main.Version=v${finalAttrs.version}"
];
# requires real s3
checkFlags = [ "-skip=^TestIntegration$" ];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru = {
@@ -46,7 +48,10 @@ buildGoModule (finalAttrs: {
homepage = "https://github.com/versity/versitygw";
changelog = "https://github.com/versity/versitygw/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ genga898 ];
maintainers = with lib.maintainers; [
adamcstephens
genga898
];
mainProgram = "versitygw";
};
})