<commit_before>args: with args;
let inherit (bleedingEdgeRepos)  sourceByName;
# map ghcCabalExecutableFun and add cabal dependency to all 
executables = lib.mapAttrs ( name_dummy : a : ghcCabalExecutableFun (a // { libsFun = x : (a.libsFun x) ++ [x.cabal_darcs]; } ) )
({
  happy = {
    name = "happy-1.17";
    libsFun = x : [x.base x.directory x.haskell98 x.mtl];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/happy/1.17/happy-1.17.tar.gz";
      sha256 = "0aqaqy27fkkilj3wk03krx2gdgrw5hynn8wnahrkimg52xyy996w";
    };
    meta = {
      executables = ["happy"];
      description = "A lexical analyser generator for Haskell";
      homepage = http://www.haskell.org/happy/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbosity flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  alex = {
    name = "alex-2.2";
    libsFun = x : [x.base x.haskell98];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/alex/2.2/alex-2.2.tar.gz";
      sha256 = "1zhzlhwljbd52hwd8dm7fcbinfzjhal5x91rvi8x7cgxdkyd8n79";
    };
    meta = {
      executables = ["alex"];
      description = "tool generating lexical analysers";
      homepage = http://www.haskell.org/alex/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbosity flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  drift = {
    name = "DrIFT-2.2.3";
    libsFun = x : [ x.base x.haskell98 ];
    src = fetchurl {
      url = http://hackage.haskell.org/packages/archive/DrIFT/2.2.3/DrIFT-2.2.3.tar.gz;
      sha256 = "1615ijdz1bcmgnz86yx54ap6r7q08flh309jfyc7xaxxq5cdib0k";
    };
    meta = { 
      description = "DrIFT is a type sensitive preprocessor for Haskell";
      homepage = http://repetae.net/computer/haskell/DrIFT/;
      license = "BSD3";
    };
  };
  hxq = { 
    name="hxq-0.7";
    libsFun = x: [ x.base x.haskell98 x.template_haskell ];
    src = fetchurl { url = http://hackage.haskell.org/packages/archive/HXQ/0.7/HXQ-0.7.tar.gz; sha256 = "0zwar8fykks1n86zm0alkdx4yg903hkdr66wffsji6fhhpkzcmrh";};
  };
  leksah = {
    name="leksah-darcs";
    libsFun = x: [ x.base x.filepath x.parsec x.mtl x.process x.old_time x.containers x.pretty x.directory x.gtk2hs x.binary x.bytestring ];
    src = sourceByName "leksah";
  };
  #hsffig = 
  #  let version = "0.1.2-08-29-2007"; in
  #  rec {
  #  name = "hsffig-${version}";
  #  src = fetchurl {
  #    url = "http://www.golubovsky.org/software/hsffig/nightly/hsffig.${version}.tar.gz";
  #    sha256 = "0pp27dchp5jshsacc1n15jvabsvc60l6phyfw0x9y6cmcwq72blg";
  #  };
  #  pass = { patchPhase = ''
  #    sed -e "s/ALEX =.*/ALEX=alex/" -e "s/-package text//" -i Makefile 
  #  '';
  #    buildPhase = "unset buildPhase; buildPhase"; [> force using default buildPhase 
  #  };
  #  libsFun = x : [ x.base x.directory x.process x.cabal_darcs x.finitemap executables.alex executables.happy ];
  #  meta = { 
  #      description = "automatically generates C bindings for haskell (needs hsc2hs)";
  #      homepage = "now sourceforge";<commit_msg>leksah doesnt build yet<commit_after>args: with args;
let inherit (bleedingEdgeRepos)  sourceByName;
# map ghcCabalExecutableFun and add cabal dependency to all 
executables = lib.mapAttrs ( name_dummy : a : ghcCabalExecutableFun (a // { libsFun = x : (a.libsFun x) ++ [x.cabal_darcs]; } ) )
({
  happy = {
    name = "happy-1.17";
    libsFun = x : [x.base x.directory x.haskell98 x.mtl];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/happy/1.17/happy-1.17.tar.gz";
      sha256 = "0aqaqy27fkkilj3wk03krx2gdgrw5hynn8wnahrkimg52xyy996w";
    };
    meta = {
      executables = ["happy"];
      description = "A lexical analyser generator for Haskell";
      homepage = http://www.haskell.org/happy/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbosity flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  alex = {
    name = "alex-2.2";
    libsFun = x : [x.base x.haskell98];
    src = fetchurl {
      url =  "http://hackage.haskell.org/packages/archive/alex/2.2/alex-2.2.tar.gz";
      sha256 = "1zhzlhwljbd52hwd8dm7fcbinfzjhal5x91rvi8x7cgxdkyd8n79";
    };
    meta = {
      executables = ["alex"];
      description = "tool generating lexical analysers";
      homepage = http://www.haskell.org/alex/;
      license = "BSD3";
    };
    pass = {
      patchPhase = '' sed -e "s/buildVerbose flags/fromFlag (buildVerbosity flags)/g" -e "s/BuildFlags(..)/BuildFlags(..), fromFlag/g" -i Setup.lhs '';
    };
  };
  drift = {
    name = "DrIFT-2.2.3";
    libsFun = x : [ x.base x.haskell98 ];
    src = fetchurl {
      url = http://hackage.haskell.org/packages/archive/DrIFT/2.2.3/DrIFT-2.2.3.tar.gz;
      sha256 = "1615ijdz1bcmgnz86yx54ap6r7q08flh309jfyc7xaxxq5cdib0k";
    };
    meta = { 
      description = "DrIFT is a type sensitive preprocessor for Haskell";
      homepage = http://repetae.net/computer/haskell/DrIFT/;
      license = "BSD3";
    };
  };
  hxq = { 
    name="hxq-0.7";
    libsFun = x: [ x.base x.haskell98 x.template_haskell ];
    src = fetchurl { url = http://hackage.haskell.org/packages/archive/HXQ/0.7/HXQ-0.7.tar.gz; sha256 = "0zwar8fykks1n86zm0alkdx4yg903hkdr66wffsji6fhhpkzcmrh";};
  };
  #leksah = {
    #name="leksah-darcs";
    #libsFun = x: [ x.base x.filepath x.parsec x.mtl x.process x.old_time x.containers x.pretty x.directory x.gtk2hs x.binary x.bytestring x.cabal_darcs x.ghc ];
    #src = sourceByName "leksah";
  #};
  #hsffig = 
  #  let version = "0.1.2-08-29-2007"; in
  #  rec {
  #  name = "hsffig-${version}";
  #  src = fetchurl {
  #    url = "http://www.golubovsky.org/software/hsffig/nightly/hsffig.${version}.tar.gz";
  #    sha256 = "0pp27dchp5jshsacc1n15jvabsvc60l6phyfw0x9y6cmcwq72blg";
  #  };
  #  pass = { patchPhase = ''
  #    sed -e "s/ALEX =.*/ALEX=alex/" -e "s/-package text//" -i Makefile 
  #  '';
  #    buildPhase = "unset buildPhase; buildPhase"; [> force using default buildPhase 
  #  };
  #  libsFun = x : [ x.base x.directory x.process x.cabal_darcs x.finitemap executables.alex executables.happy ];
  #  meta = { 
  #      description = "automatically generates C bindings for haskell (needs hsc2hs)";
  #      homepage = "now sourceforge";
{'fraction_non_alphanumeric': 0.15826783787948837, 'fraction_numerical': 0.04407458776390815, 'mean_word_length': 2.7645011600928076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '5093063', 'n_tokens_mistral': 2826, 'n_tokens_neox': 2627, 'n_words': 444}