<commit_before>{ cabal, binary, mtl, syb, sybWithClass, sybWithClassInstancesText
, text, time
}:

cabal.mkDerivation (self: {
  pname = "happstack-data";
  version = "6.0.1";
  sha256 = "0v2ln4mdnild72p02mzjn8mn5srvjixsjqjgkdqzshvxjnnm95l8";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    binary mtl syb sybWithClass sybWithClassInstancesText text time
  ];
  meta = {
    homepage = "http://happstack.com";
    description = "Happstack data manipulation libraries";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})
<commit_msg>haskell-happstack-data: patched to support current mtl and transformers<commit_after>{ cabal, binary, mtl, syb, sybWithClass, sybWithClassInstancesText
, text, time
}:

cabal.mkDerivation (self: {
  pname = "happstack-data";
  version = "6.0.1";
  sha256 = "0v2ln4mdnild72p02mzjn8mn5srvjixsjqjgkdqzshvxjnnm95l8";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    binary mtl syb sybWithClass sybWithClassInstancesText text time
  ];
  patchPhase = ''
    sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-data.cabal
  '';
  meta = {
    homepage = "http://happstack.com";
    description = "Happstack data manipulation libraries";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})

{'fraction_non_alphanumeric': 0.12361878453038674, 'fraction_numerical': 0.029005524861878452, 'mean_word_length': 3.996551724137931, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '2495858', 'n_tokens_mistral': 591, 'n_tokens_neox': 559, 'n_words': 101}