<commit_before>{ cabal, emacs, haskellSrcExts }:

cabal.mkDerivation (self: {
  pname = "structured-haskell-mode";
  version = "1.0.2";
  sha256 = "1lwdhlr38y5hdr78nplplr3q0hrjhryw378f1857qh0lvp03gwl2";
  isLibrary = false;
  isExecutable = true;
  buildDepends = [ haskellSrcExts ];
  buildTools = [ emacs ];
  postInstall = ''
    emacs -L elisp --batch -f batch-byte-compile "elisp/"*.el
    install -d $out/share/emacs/site-lisp
    install "elisp/"*.elc $out/share/emacs/site-lisp
  '';
  meta = {
    homepage = "https://github.com/chrisdone/structured-haskell-mode";
    description = "Structured editing Emacs mode for Haskell";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.pSub ];
  };
})<commit_msg>structured-haskell-mode: re-generate with latest cabal2nix<commit_after>{ cabal, emacs, haskellSrcExts }:

cabal.mkDerivation (self: {
  pname = "structured-haskell-mode";
  version = "1.0.2";
  sha256 = "1lwdhlr38y5hdr78nplplr3q0hrjhryw378f1857qh0lvp03gwl2";
  isLibrary = false;
  isExecutable = true;
  buildDepends = [ haskellSrcExts ];
  buildTools = [ emacs ];
  postInstall = ''
    emacs -L elisp --batch -f batch-byte-compile "elisp/"*.el
    install -d $out/share/emacs/site-lisp
    install "elisp/"*.el "elisp/"*.elc  $out/share/emacs/site-lisp
  '';
  meta = {
    homepage = "https://github.com/chrisdone/structured-haskell-mode";
    description = "Structured editing Emacs mode for Haskell";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})
{'fraction_non_alphanumeric': 0.1432145090681676, 'fraction_numerical': 0.03314571607254534, 'mean_word_length': 3.63768115942029, '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': '681034', 'n_tokens_mistral': 657, 'n_tokens_neox': 620, 'n_words': 103}