Unverified Commit 555191f1 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

minio-warp: 1.1.2 -> 1.1.4 (#406391)

parents ff83a1b7 a6ac3472
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -4,20 +4,29 @@
  buildGoModule,
  versionCheckHook,
  nix-update-script,
  fetchpatch,
}:

buildGoModule rec {
  pname = "minio-warp";
  version = "1.1.2";
  version = "1.1.4";

  src = fetchFromGitHub {
    owner = "minio";
    repo = "warp";
    rev = "v${version}";
    hash = "sha256-loyEGnJ6ExWMUyArNNpQGzpagFgwlNzaNBO8EPXkMws=";
    hash = "sha256-KOhBSxR9P3Q6DpC8QCRaiw6Y51OyHLRlhr0WmXE74PI=";
  };

  vendorHash = "sha256-/+vKs5NzzyP9Ihz+zbxGf/OEHD0kaf0wZzE0Sg++3bE=";
  patches = [
    # upstream ships a broken go.sum file in the release and fixes it one commit later ..
    (fetchpatch {
      url = "https://github.com/minio/warp/commit/c830e94367efce6e6d70c337d490a3b6eba5e558.patch";
      hash = "sha256-LXkgwpTPe4WvU+nAsYfjs38uXiBoeoavnxliw8nweRQ=";
    })
  ];

  vendorHash = "sha256-duEd5uss6mS2aTOTsI3dzZV2TEDHyKN5QKWb4Tt5+7s=";

  # See .goreleaser.yml
  ldflags = [
@@ -43,6 +52,7 @@ buildGoModule rec {
  meta = {
    description = "S3 benchmarking tool";
    homepage = "https://github.com/minio/warp";
    changelog = "https://github.com/minio/warp/releases/tag/v${version}";
    license = lib.licenses.agpl3Plus;
    maintainers = with lib.maintainers; [ christoph-heiss ];
    mainProgram = "minio-warp";