<commit_before>{ stdenv, go, systemd, polkit, fetchFromGitHub, m4, removeReferencesTo }:

stdenv.mkDerivation {
  name = "localtime-2017-11-07";

  src = fetchFromGitHub {
    owner = "Stebalien";
    repo = "localtime";
    rev = "2e7b4317c723406bd75b2a1d640219ab9f8090ce";
    sha256 = "04fyna8p7q7skzx9fzmncd6gx7x5pwa9jh8a84hpljlvj0kldfs8";
  };
  
  buildInputs = [ go systemd polkit m4 removeReferencesTo ];
  disallowedRequisites = [ go ];

  makeFlags = [ "PREFIX=$(out)" ];

  preFixup = ''
    find $out/bin -type f -exec remove-references-to -t ${go} '{}' +
  '';

  meta = {
    description = "A daemon for keeping the system timezone up-to-date based on the current location";
    homepage = https://github.com/Stebalien/localtime;
    platforms = stdenv.lib.platforms.linux;
  };
}<commit_msg>localtime: add license<commit_after>{ stdenv, go, systemd, polkit, fetchFromGitHub, m4, removeReferencesTo }:

stdenv.mkDerivation {
  name = "localtime-2017-11-07";

  src = fetchFromGitHub {
    owner = "Stebalien";
    repo = "localtime";
    rev = "2e7b4317c723406bd75b2a1d640219ab9f8090ce";
    sha256 = "04fyna8p7q7skzx9fzmncd6gx7x5pwa9jh8a84hpljlvj0kldfs8";
  };

  buildInputs = [ go systemd polkit m4 removeReferencesTo ];
  disallowedRequisites = [ go ];

  makeFlags = [ "PREFIX=$(out)" ];

  preFixup = ''
    find $out/bin -type f -exec remove-references-to -t ${go} '{}' +
  '';

  meta = with stdenv.lib; {
    description = "A daemon for keeping the system timezone up-to-date based on the current location";
    homepage = https://github.com/Stebalien/localtime;
    platforms = platforms.linux;
    license = licenses.gpl3;
  };
}
{'fraction_non_alphanumeric': 0.12817412333736397, 'fraction_numerical': 0.06711003627569528, 'mean_word_length': 3.7557471264367814, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '961940', 'n_tokens_mistral': 696, 'n_tokens_neox': 637, 'n_words': 124}