2019-10-26 13:14:13 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-09-07 15:22:02 +00:00
|
|
|
|
2019-10-26 13:14:13 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "minio";
|
2019-10-26 13:14:13 +00:00
|
|
|
version = "2019-10-12T01-39-57Z";
|
2016-09-07 15:22:02 +00:00
|
|
|
|
2018-01-12 09:31:58 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minio";
|
|
|
|
repo = "minio";
|
|
|
|
rev = "RELEASE.${version}";
|
2019-10-26 13:14:13 +00:00
|
|
|
sha256 = "14rqwdhk2awdpcavkaqndf85c6aww5saarbfa2skc9z76ccq6114";
|
2016-09-07 15:22:02 +00:00
|
|
|
};
|
|
|
|
|
2019-10-26 13:14:13 +00:00
|
|
|
modSha256 = "1cnccmmqb63l78rnjwh9bivyfr79ixjg106fbgcrn3pwghfag7ma";
|
2016-09-07 15:22:02 +00:00
|
|
|
|
2019-06-18 14:48:17 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2018-01-12 09:31:58 +00:00
|
|
|
buildFlagsArray = [''-ldflags=
|
|
|
|
-X github.com/minio/minio/cmd.Version=${version}
|
|
|
|
''];
|
2016-09-07 15:22:02 +00:00
|
|
|
|
2018-01-12 09:31:58 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-09-07 15:22:02 +00:00
|
|
|
homepage = https://www.minio.io/;
|
|
|
|
description = "An S3-compatible object storage server";
|
2018-01-12 09:31:58 +00:00
|
|
|
maintainers = with maintainers; [ eelco bachp ];
|
2018-02-13 20:54:04 +00:00
|
|
|
platforms = platforms.unix;
|
2018-01-12 09:31:58 +00:00
|
|
|
license = licenses.asl20;
|
2016-09-07 15:22:02 +00:00
|
|
|
};
|
|
|
|
}
|