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

stdenv.mkDerivation rec {
  pname = "libmodule";
  version = "4.2.0";

  src = fetchFromGitHub {
    owner = "FedeDP";
    repo = "libmodule";
    rev = version;
    sha256 = "1qn54pysdm0q7v1gnisd43i5i4ylf8s8an77jk6jd8qimysv08mx";
  };

  nativeBuildInputs = [
    cmake
    pkgconfig
  ];

  meta = with stdenv.lib; {<commit_msg>libmodule: 4.2.0 -> 5.0.0<commit_after>{ stdenv, fetchFromGitHub
, cmake, pkgconfig }:

stdenv.mkDerivation rec {
  pname = "libmodule";
  version = "5.0.0";

  src = fetchFromGitHub {
    owner = "FedeDP";
    repo = "libmodule";
    rev = version;
    sha256 = "1cf81sl33xmfn5g150iqcdrjn0lpjlgp53mganwi6x7jda2qk7r6";
  };

  nativeBuildInputs = [
    cmake
    pkgconfig
  ];

  meta = with stdenv.lib; {
{'fraction_non_alphanumeric': 0.12625, 'fraction_numerical': 0.06625, 'mean_word_length': 3.283422459893048, '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': '6264319', 'n_tokens_mistral': 374, 'n_tokens_neox': 340, 'n_words': 56}