build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / by-name / ve / versitygw / package.nix
blob03d4dbc0033174c3bd0fc883607e6c50a2311e57
2   lib,
3   fetchFromGitHub,
4   buildGoModule,
5 }:
7 buildGoModule rec {
8   pname = "versitygw";
9   version = "1.0.9";
11   src = fetchFromGitHub {
12     owner = "versity";
13     repo = "versitygw";
14     tag = "v${version}";
15     hash = "sha256-giPk0037zMqrqG6L1b9M7Us9d9YpGNjlJXWaNCIx3vc=";
16   };
18   vendorHash = "sha256-vW1LQDr2u/owt919HyRkd6frCQquCq5rrYFAp0n3x2o=";
20   doCheck = false; # Require access to online S3 services
22   ldFlags = [
23     "-s"
24     "-w"
25   ];
27   meta = {
28     description = "Versity S3 gateway, a high-performance S3 translation service";
29     homepage = "https://github.com/versity/versitygw";
30     changelog = "https://github.com/versity/versitygw/releases/tag/v${version}";
31     license = lib.licenses.asl20;
32     maintainers = with lib.maintainers; [ genga898 ];
33     mainProgram = "versitygw";
34   };