<commit_before>{ stdenv, edk2, fetchhg }:

let

  src = fetchhg {
    url = https://bitbucket.org/shlevy/nixosbootpkg;
    tag = "1ff4c2891c8c1eb03677a6f8b04b8d05807ec198";
    sha256 = "06zwy0g9a7g2sny7phvn2z76pb3wnw4vm9vsrjjaj7f7nzcsn13k";
  };

in

stdenv.mkDerivation (edk2.setup "NixosBootPkg/NixosBootPkg.dsc" {
  name = "NixosBootPkg-2012-03-15";

  unpackPhase = ''
    ln -sv ${src} NixosBootPkg
    ln -sv ${edk2.src}/MdePkg .
  '';

  meta = {
    description = "Sample UEFI firmware for QEMU and KVM";
    homepage = http://www.shealevy.com;
    license = "MIT";
    maintainers = [ stdenv.lib.maintainers.shlevy ];
    platforms = ["x86_64-linux" "i686-linux"];
  };
})<commit_msg>Whoops, sloppy copy<commit_after>{ stdenv, edk2, fetchhg }:

let

  src = fetchhg {
    url = https://bitbucket.org/shlevy/nixosbootpkg;
    tag = "1ff4c2891c8c1eb03677a6f8b04b8d05807ec198";
    sha256 = "06zwy0g9a7g2sny7phvn2z76pb3wnw4vm9vsrjjaj7f7nzcsn13k";
  };

in

stdenv.mkDerivation (edk2.setup "NixosBootPkg/NixosBootPkg.dsc" {
  name = "NixosBootPkg-2012-03-15";

  unpackPhase = ''
    ln -sv ${src} NixosBootPkg
    ln -sv ${edk2.src}/MdePkg .
  '';

  meta = {
    description =
      "Simple EFI app to load the kernel with NixOS-specific arguments";
    homepage = http://www.shealevy.com;
    license = "MIT";
    maintainers = [ stdenv.lib.maintainers.shlevy ];
    platforms = ["x86_64-linux" "i686-linux"];
  };
})
{'fraction_non_alphanumeric': 0.1388499298737728, 'fraction_numerical': 0.08976157082748948, 'mean_word_length': 3.445482866043614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4879118', 'n_tokens_mistral': 712, 'n_tokens_neox': 637, 'n_words': 95}