Skip to content

Commit

Permalink
Merge pull request NixOS#172606 from bachp/minio-client-2022-05-09T04…
Browse files Browse the repository at this point in the history
…-08-26Z

minio-client: 2022-03-17T20-25-06Z -> 2022-05-09T04-08-26Z
  • Loading branch information
bachp authored May 13, 2022
2 parents 15cfd75 + d9ee32e commit c0b9099
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/networking/minio-client/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "minio-client";
version = "2022-03-17T20-25-06Z";
version = "2022-05-09T04-08-26Z";

src = fetchFromGitHub {
owner = "minio";
repo = "mc";
rev = "RELEASE.${version}";
sha256 = "sha256-+MfRosEyIaQ5RndpAeK5AXm8EHX2ND7VJcr1NVFs5TI=";
sha256 = "sha256-a7zpvumsMijMmJthg4EZgOUymDC4GrbDjAwN4sXxE6g=";
};

vendorSha256 = "sha256-Wdw9mZ3UupoJ4yDwS4f3mOmCn+7TvHmx4aRu+96pHM4=";
vendorSha256 = "sha256-OkcQxTDKhuFCjNs5TNBBMde+M6vCfPSR5IuVbCaqWJg=";

subPackages = [ "." ];

Expand All @@ -26,6 +26,8 @@ buildGoModule rec {
$out/bin/mc --version | grep ${version} > /dev/null
'';

passthru.tests.minio = nixosTests.minio;

meta = with lib; {
homepage = "https://github.com/minio/mc";
description = "A replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage";
Expand Down

0 comments on commit c0b9099

Please sign in to comment.