<commit_before>{ cabal, colour, dlist, fgl, filepath, polyparse, QuickCheck
, temporary, text, transformers, wlPprintText
}:

cabal.mkDerivation (self: {
  pname = "graphviz";
  version = "2999.16.0.0";
  sha256 = "1g4q4wyj5amz9xvgnqn143p5nq6m4a0lggxz7jn9l2hwp41bx1g8";
  buildDepends = [
    colour dlist fgl filepath polyparse temporary text transformers
    wlPprintText
  ];
  testDepends = [
    colour dlist fgl filepath polyparse QuickCheck temporary text
    transformers wlPprintText
  ];
  patchPhase = ''
    sed -i -e 's|polyparse.*,|polyparse,|' -e 's|dlist ==.*|dlist|' -e 's|temporary.*,|temporary,|' graphviz.cabal
  '';
  doCheck = false;
  meta = {
    homepage = "http://projects.haskell.org/graphviz/";
    description = "Bindings to Graphviz for graph visualisation";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})<commit_msg>haskell-graphviz: jailbreak to fix build with fgl 5.x<commit_after>{ cabal, colour, dlist, fgl, filepath, polyparse, QuickCheck
, temporary, text, transformers, wlPprintText
}:

cabal.mkDerivation (self: {
  pname = "graphviz";
  version = "2999.16.0.0";
  sha256 = "1g4q4wyj5amz9xvgnqn143p5nq6m4a0lggxz7jn9l2hwp41bx1g8";
  buildDepends = [
    colour dlist fgl filepath polyparse temporary text transformers
    wlPprintText
  ];
  testDepends = [
    colour dlist fgl filepath polyparse QuickCheck temporary text
    transformers wlPprintText
  ];
  patchPhase = ''
    sed -i -e 's|fgl ==.*,|fgl,|' -e 's|polyparse.*,|polyparse,|' -e 's|dlist ==.*|dlist|' -e 's|temporary.*,|temporary,|' graphviz.cabal
  '';
  doCheck = false;
  meta = {
    homepage = "http://projects.haskell.org/graphviz/";
    description = "Bindings to Graphviz for graph visualisation";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})
{'fraction_non_alphanumeric': 0.13268937468225725, 'fraction_numerical': 0.03202846975088968, 'mean_word_length': 3.982278481012658, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3746208', 'n_tokens_mistral': 792, 'n_tokens_neox': 754, 'n_words': 150}