<commit_before>{ lib, stdenv, fetchurl, go }:

stdenv.mkDerivation rec {
  name = "minio-${version}";

  version = "2017-09-29T19-16-56Z";

  src = fetchurl {
    url = "https://github.com/minio/minio/archive/RELEASE.${version}.tar.gz";
    sha256 = "1h028gyfvyh5x6k4fsj4s64sgzqy7jgln6kvs27bnxzigj6dp2wx";
  };

  buildInputs = [ go ];

  unpackPhase = ''
    d=$TMPDIR/src/github.com/minio/minio
    mkdir -p $d
    tar xf $src -C $d --strip-component 1
    export GOPATH=$TMPDIR
    cd $d
  '';

  buildPhase = ''
    mkdir -p $out/bin
    go build -o $out/bin/minio \
      --ldflags "-X github.com/minio/minio/cmd.Version=${version}"
  '';

  installPhase = "true";

  meta = {
    homepage = https://www.minio.io/;
    description = "An S3-compatible object storage server";
    maintainers = with lib.maintainers; [ eelco bachp ];
    platforms = lib.platforms.x86_64;
    license = lib.licenses.asl20;
  };
}<commit_msg>minio: 2017-09-29T19-16-56Z -> 2018-01-02T23-07-00Z (#33724)<commit_after>{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "minio-${version}";

  version = "2018-01-02T23-07-00Z";

  src = fetchFromGitHub {
    owner = "minio";
    repo = "minio";
    rev = "RELEASE.${version}";
    sha256 = "1bpiy6q9782mxs5f5lzw6c7zx83s2i68rf5f65xa9z7cyl19si74";
  };

  goPackagePath = "github.com/minio/minio";

  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; [ <NAME> ];
    platforms = platforms.x86_64 ++ ["aarch64-linux"];
    license = licenses.asl20;
  };
}
{'fraction_non_alphanumeric': 0.16053706946876825, 'fraction_numerical': 0.07238762405137186, 'mean_word_length': 3.1201923076923075, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3078429', 'n_tokens_mistral': 762, 'n_tokens_neox': 681, 'n_words': 115}