<commit_before>{ stdenv, fetchurl, python, emacsPackages }:

stdenv.mkDerivation rec {
  name = "cask-${version}";
  version = "0.8.4";

  src = fetchurl {
    url = "https://github.com/cask/cask/archive/v${version}.tar.gz";
    sha256 = "02f8bb20b33b23fb11e7d2a1d282519dfdb8b3090b9672448b8c2c2cacd3e478";
  };

  doCheck = true;
  buildInputs = with emacsPackages; [ s dash f ansi ecukes servant ert-runner el-mock
                                      noflet ert-async shell-split-string git package-build ];
  buildPhase = ''
    emacs --batch -L . -f batch-byte-compile cask.el cask-cli.el
  '';

  installPhase = ''
    mkdir -p $out/bin
    mkdir -p $out/templates
    mkdir -p $out/share/emacs/site-lisp/cask/bin
    install -Dm644 *.el *.elc $out/share/emacs/site-lisp/cask
    install -Dm755 bin/cask $out/share/emacs/site-lisp/cask/bin
    install -Dm644 templates/* $out/templates/
    touch $out/.no-upgrade
    ln -s $out/share/emacs/site-lisp/cask/bin/cask $out/bin/cask
  '';

  meta = with stdenv.lib; {
    description = "Project management for Emacs";
    longDescription = ''
      Cask is a project management tool for Emacs that helps automate the
      package development cycle; development, dependencies, testing, building,
      packaging and more.
      Cask can also be used to manage dependencies for your local Emacs configuration.
    '';

    homepage = https://cask.readthedocs.io/en/latest/index.html;
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.flexw ];
  };

  nativeBuildInputs = [ emacsPackages.emacs python ];
}<commit_msg>cask: use emacsPackagesNg instead of emacsPackages<commit_after>{ stdenv, fetchurl, python, emacsPackagesNg }:

stdenv.mkDerivation rec {
  name = "cask-${version}";
  version = "0.8.4";

  src = fetchurl {
    url = "https://github.com/cask/cask/archive/v${version}.tar.gz";
    sha256 = "02f8bb20b33b23fb11e7d2a1d282519dfdb8b3090b9672448b8c2c2cacd3e478";
  };

  doCheck = true;
  buildInputs = with emacsPackagesNg; [
    s f dash ansi ecukes servant ert-runner el-mock
    noflet ert-async shell-split-string git package-build
  ];
  buildPhase = ''
    emacs --batch -L . -f batch-byte-compile cask.el cask-cli.el
  '';

  installPhase = ''
    mkdir -p $out/bin
    mkdir -p $out/templates
    mkdir -p $out/share/emacs/site-lisp/cask/bin
    install -Dm644 *.el *.elc $out/share/emacs/site-lisp/cask
    install -Dm755 bin/cask $out/share/emacs/site-lisp/cask/bin
    install -Dm644 templates/* $out/templates/
    touch $out/.no-upgrade
    ln -s $out/share/emacs/site-lisp/cask/bin/cask $out/bin/cask
  '';

  meta = with stdenv.lib; {
    description = "Project management for Emacs";
    longDescription = ''
      Cask is a project management tool for Emacs that helps automate the
      package development cycle; development, dependencies, testing, building,
      packaging and more.
      Cask can also be used to manage dependencies for your local Emacs configuration.
    '';

    homepage = https://cask.readthedocs.io/en/latest/index.html;
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.flexw ];
  };

  nativeBuildInputs = [ emacsPackagesNg.emacs python ];
}
{'fraction_non_alphanumeric': 0.11864406779661017, 'fraction_numerical': 0.03389830508474576, 'mean_word_length': 2.9877149877149876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1444507', 'n_tokens_mistral': 1218, 'n_tokens_neox': 1149, 'n_words': 259}