<commit_before>{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:

stdenv.mkDerivation rec {
  pname = "kmsxx";
  version = "2017-10-10";
  name = pname + "-" + version;

  src = fetchFromGitHub {
    owner = "tomba";
    repo = "kmsxx";
    fetchSubmodules = true;
    rev = "f32b82c17cd357ae1c8ed2636266113955293feb";
    sha256 = "14panqdqq83wh6wym5afdiyrr78mb12ga63pgrppj27kgv398yjj";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [ libdrm python ];

  pythonPath = [ ];
  passthru.python = python;
<commit_msg>kmsxx: 2017-10-10 -> 2018-09-10<commit_after>{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:

stdenv.mkDerivation rec {
  pname = "kmsxx";
  version = "2018-09-10";
  name = pname + "-" + version;

  src = fetchFromGitHub {
    owner = "tomba";
    repo = "kmsxx";
    fetchSubmodules = true;
    rev = "524176c33ee2b79f78d454fa621e0d32e7e72488";
    sha256 = "0wyg0zv207h5a78cwmbg6fi8gr8blbbkwngjq8hayfbg45ww0jy8";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [ libdrm python ];

  pythonPath = [ ];
  passthru.python = python;

{'fraction_non_alphanumeric': 0.1230899830220713, 'fraction_numerical': 0.10696095076400679, 'mean_word_length': 3.892116182572614, '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': '5757828', 'n_tokens_mistral': 562, 'n_tokens_neox': 478, 'n_words': 80}