minio-client: 2020-04-04T05-28-55Z -> 2020-04-25T00-43-23Z
This commit is contained in:
parent
3699d2d1dd
commit
d7e1e8467a
1 changed files with 4 additions and 6 deletions
|
@ -2,22 +2,20 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio-client";
|
pname = "minio-client";
|
||||||
version = "2020-04-04T05-28-55Z";
|
version = "2020-04-25T00-43-23Z";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "mc";
|
repo = "mc";
|
||||||
rev = "RELEASE.${version}";
|
rev = "RELEASE.${version}";
|
||||||
sha256 = "09z28fq492d4l0089d1knq4zah9p2b212pkz777vznw9lzfqqip8";
|
sha256 = "0ff2fyr3787zp0lpgbph064am33py2wzjikzmxd3zwp3y0dic770";
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "0cv824ar5ifsg93sylrfjmax6zqm5073y95hqqfcc1dfp0mv2ki3";
|
modSha256 = "1bcz7jchfnglypr2md9hhqbvcbghic2yp6njdrx3m5nqhylypzfx";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
preBuild = ''
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/minio/mc/cmd.Version=${version}" ];
|
||||||
buildFlagsArray+=("-ldflags=-X github.com/minio/mc/cmd.Version=${version}")
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/minio/mc";
|
homepage = "https://github.com/minio/mc";
|
||||||
|
|
Loading…
Reference in a new issue