From f9d6f6774557503c3ad7ada48505be308185ffd7 Mon Sep 17 00:00:00 2001 From: genga Date: Wed, 13 Nov 2024 08:25:59 +0300 Subject: [PATCH] versitygw: init at 1.0.8 versitygw: update to correct license versitygw: update description versitygw: update --- pkgs/by-name/ve/versitygw/package.nix | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/ve/versitygw/package.nix diff --git a/pkgs/by-name/ve/versitygw/package.nix b/pkgs/by-name/ve/versitygw/package.nix new file mode 100644 index 000000000000..40c8297ed57f --- /dev/null +++ b/pkgs/by-name/ve/versitygw/package.nix @@ -0,0 +1,35 @@ +{ + lib, + fetchFromGitHub, + buildGoModule, +}: + +buildGoModule rec { + pname = "versitygw"; + version = "1.0.8"; + + src = fetchFromGitHub { + owner = "versity"; + repo = "versitygw"; + rev = "refs/tags/v${version}"; + hash = "sha256-hrGPHl8vfLsL1JMcaU+RAQj6CaBJKsW+Q2AGCbgYUSA="; + }; + + vendorHash = "sha256-zZufxxZZ5Lfr0vWcygXdiRK+bhUr/+MFk4ajJGz5TMI="; + + doCheck = false; # Require access to online S3 services + + ldFlags = [ + "-s" + "-w" + ]; + + meta = { + description = "Versity S3 gateway, a high-performance S3 translation service"; + homepage = "https://github.com/versity/versitygw"; + changelog = "https://github.com/versity/versitygw/releases/tag/v${version}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ genga898 ]; + mainProgram = "versitygw"; + }; +}