<commit_before>{ stdenv
, fetchurl

, pciutils
}:

stdenv.mkDerivation rec {
  name = "gnu-efi-${version}";
  version = "3.0.4";

  src = fetchurl {
    url = "mirror://sourceforge/gnu-efi/${name}.tar.bz2";
    sha256 = "51a00428c3ccb96db24089ed8394843c4f83cf8f42c6a4dfddb4b7c23f2bf8af";
  };

  buildInputs = [
    pciutils
  ];

  prePatch = ''
    sed -i 's, -Werror,,g' Make.defaults
  '';

  preBuild = ''<commit_msg>gnu-efi: 3.0.4 -> 3.0.5<commit_after>{ stdenv
, fetchurl

, pciutils
}:

let
  version = "3.0.5";
in
stdenv.mkDerivation rec {
  name = "gnu-efi-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/gnu-efi/${name}.tar.bz2";
    sha256 = "bd8fcd5914f18fc0e4ba948ab03b00013e528504f529c60739b748f6ef130b22";
  };

  buildInputs = [
    pciutils
  ];

  prePatch = ''
    sed -i 's, -Werror,,g' Make.defaults
  '';

  preBuild = ''
{'fraction_non_alphanumeric': 0.16957026713124274, 'fraction_numerical': 0.11382113821138211, 'mean_word_length': 3.144230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '5610906', 'n_tokens_mistral': 440, 'n_tokens_neox': 392, 'n_words': 54}