<commit_before>{stdenv, fetchurl, kernel}:

stdenv.mkDerivation {
  name = "tp_smapi-0.41-${kernel.version}";

  src = fetchurl {
    url = "https://github.com/downloads/evgeni/tp_smapi/tp_smapi-0.41.tar.gz";
    sha256 = "6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666";
  };

  makeFlags = [
    "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}"
    "SHELL=/bin/sh"<commit_msg>linuxPackages.tp_smapi: turn off pic hardening<commit_after>{stdenv, fetchurl, kernel}:

stdenv.mkDerivation {
  name = "tp_smapi-0.41-${kernel.version}";

  src = fetchurl {
    url = "https://github.com/downloads/evgeni/tp_smapi/tp_smapi-0.41.tar.gz";
    sha256 = "6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666";
  };

  hardening_pic = false;

  makeFlags = [
    "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}"
    "SHELL=/bin/sh"
{'fraction_non_alphanumeric': 0.1565017261219793, 'fraction_numerical': 0.12197928653624857, 'mean_word_length': 4.506329113924051, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4616131', 'n_tokens_mistral': 437, 'n_tokens_neox': 368, 'n_words': 35}