Merge pull request #86522 from marsam/update-minio
minio: 2020-03-25 -> 2020-05-01, minio-client: 2020-04-04 -> 2020-04-25
This commit is contained in:
commit
2514460cca
@ -44,7 +44,7 @@ in {
|
||||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} S3v4"
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript}")
|
||||
|
@ -1,24 +1,26 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "minio";
|
||||
version = "2020-03-25T07-03-04Z";
|
||||
version = "2020-05-01T22-19-14Z";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minio";
|
||||
repo = "minio";
|
||||
rev = "RELEASE.${version}";
|
||||
sha256 = "0xdflc7pfx1misbh695x8kmqpysi5iydsarr9mwmjragf5b1kbl5";
|
||||
sha256 = "0yyq5j82rcl8yhn2jg8sjfxii6kzbrbmxvb05yiwv7p0q42ag5rn";
|
||||
};
|
||||
|
||||
modSha256 = "09kbibsfa7qq55paqr7wcs4gpwk6g5pknc5fjssmd12nm2cji96k";
|
||||
modSha256 = "1g5vwllxpiy4qlfhn3v5k6sn4g4qpbv0hpg32y1vi2q342lag116";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
buildFlagsArray = [''-ldflags=
|
||||
-X github.com/minio/minio/cmd.Version=${version}
|
||||
-s -w -X github.com/minio/minio/cmd.Version=${version}
|
||||
''];
|
||||
|
||||
passthru.tests.minio = nixosTests.minio;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.minio.io/";
|
||||
description = "An S3-compatible object storage server";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user