<commit_before>{ stdenv, fetchurl, pkgconfig, mono, gtk-sharp-2_0, monoDLLFixer }:

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

  src = fetchurl {
    url = "mirror://gnome/sources/hyena/${version}/hyena-${version}.tar.bz2" ;
    sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    mono gtk-sharp-2_0
  ];

  postPatch = ''
    patchShebangs build/dll-map-makefile-verifier
    patchShebangs build/private-icon-theme-installer
    substituteInPlace configure --replace lib/mono/2.0/ lib/mono/2.0-api/
    find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
  '';

  dontStrip = true;

  inherit monoDLLFixer;

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Hyena;
    description = "A C# library which contains a hodge-podge of random stuff";
    longDescription = ''
      Hyena is a C# library used to make awesome applications. It contains a lot of random things,
      including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library,
      a smart job/task scheduler, a user-query/search parser, and much more. It's particularly
      useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
    '';
    platforms = platforms.all;
    maintainers = with maintainers; [ obadz ];
  };
}
<commit_msg>hyena: add license<commit_after>{ stdenv, fetchurl, pkgconfig, mono, gtk-sharp-2_0, monoDLLFixer }:

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

  src = fetchurl {
    url = "mirror://gnome/sources/hyena/${version}/hyena-${version}.tar.bz2" ;
    sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    mono gtk-sharp-2_0
  ];

  postPatch = ''
    patchShebangs build/dll-map-makefile-verifier
    patchShebangs build/private-icon-theme-installer
    substituteInPlace configure --replace lib/mono/2.0/ lib/mono/2.0-api/
    find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
  '';

  dontStrip = true;

  inherit monoDLLFixer;

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Hyena;
    description = "A C# library which contains a hodge-podge of random stuff";
    longDescription = ''
      Hyena is a C# library used to make awesome applications. It contains a lot of random things,
      including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library,
      a smart job/task scheduler, a user-query/search parser, and much more. It's particularly
      useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
    '';
    platforms = platforms.all;
    maintainers = with maintainers; [ obadz ];
    license = licenses.mit;
  };
}

{'fraction_non_alphanumeric': 0.11843496651392316, 'fraction_numerical': 0.04018329221008107, 'mean_word_length': 3.2295081967213113, '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': '3510790', 'n_tokens_mistral': 1055, 'n_tokens_neox': 986, 'n_words': 256}