mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
30 lines
734 B
Nix
30 lines
734 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "minio";
|
|
version = "2020-03-06T22-23-56Z";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "minio";
|
|
repo = "minio";
|
|
rev = "RELEASE.${version}";
|
|
sha256 = "0h5zsdxm2b2by6lzqaa7jj0z773kjr89cl13gq9ddabml34f0kxh";
|
|
};
|
|
|
|
modSha256 = "0ikid628v673f7lvp3psk05s3liqlyc3arppg33lfi2cmbaf8hmr";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
buildFlagsArray = [''-ldflags=
|
|
-X github.com/minio/minio/cmd.Version=${version}
|
|
''];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.minio.io/;
|
|
description = "An S3-compatible object storage server";
|
|
maintainers = with maintainers; [ eelco bachp ];
|
|
platforms = platforms.unix;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|