minio-client: 2020-04-04T05-28-55Z -> 2020-04-25T00-43-23Z

This commit is contained in:
Mario Rodas 2020-05-01 22:22:22 -05:00
parent 3699d2d1dd
commit d7e1e8467a
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -2,22 +2,20 @@
buildGoModule rec {
pname = "minio-client";
version = "2020-04-04T05-28-55Z";
version = "2020-04-25T00-43-23Z";
src = fetchFromGitHub {
owner = "minio";
repo = "mc";
rev = "RELEASE.${version}";
sha256 = "09z28fq492d4l0089d1knq4zah9p2b212pkz777vznw9lzfqqip8";
sha256 = "0ff2fyr3787zp0lpgbph064am33py2wzjikzmxd3zwp3y0dic770";
};
modSha256 = "0cv824ar5ifsg93sylrfjmax6zqm5073y95hqqfcc1dfp0mv2ki3";
modSha256 = "1bcz7jchfnglypr2md9hhqbvcbghic2yp6njdrx3m5nqhylypzfx";
subPackages = [ "." ];
preBuild = ''
buildFlagsArray+=("-ldflags=-X github.com/minio/mc/cmd.Version=${version}")
'';
buildFlagsArray = [ "-ldflags=-s -w -X github.com/minio/mc/cmd.Version=${version}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/minio/mc";