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