<commit_before>{stdenv, fetchurl, libxml2}:

stdenv.mkDerivation {
  name = "libsmbios-0.13.6";
  src = fetchurl {
    url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz;
    sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs";
  };
  buildInputs = [libxml2];
  configureFlags = "--disable-static"; # bloated enough as it is...

  # `make install' forgets to install the header files.
  postInstall = "
    ensureDir $out/include
    cp -prvd include/smbios $out/include/
  ";
}<commit_msg>* libsmbios updated to 2.0.3, which builds on GCC 4.3.   There is a newer version (2.2.x), but it requires Python,   which I'd rather avoid in the NixOS base system (it's   already large enough).<commit_after>{stdenv, fetchurl, libxml2}:

stdenv.mkDerivation rec {
  name = "libsmbios-2.0.3";
  
  src = fetchurl {
    url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz";
    sha256 = "1mgabn7r8pzi9f7zb4pvlmfm8jmrz1dcijz6nckvcnzxxi02pv4c";
  };
  
  buildInputs = [libxml2];
  
  configureFlags = "--disable-static"; # bloated enough as it is...

  meta = {
    homepage = http://linux.dell.com/libsmbios/main/index.html;
    description = "A library to obtain BIOS information";
  };
}
{'fraction_non_alphanumeric': 0.1382306477093207, 'fraction_numerical': 0.04897314375987362, 'mean_word_length': 3.525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7548394', 'n_tokens_mistral': 529, 'n_tokens_neox': 493, 'n_words': 100}