<commit_before>{ stdenv
, fetchFromGitHub
, lib
}:

let
  version = "1.0.2";
in
stdenv.mkDerivation {
  name = "mujs-${version}";

  src = fetchFromGitHub {
    version = 5;
    owner = "ccxvii";
    repo = "mujs";
    rev = "${version}";
    sha256 = "cfa27ac2572549b7cfe03fe8305e134dcbc7cba76bf2b90022bfa4eca1d63836";
  };

  makeFlags = [
    # If building from an arbitrary commit, this still needs to
    # be a semantic version for the pkgconfig file.
    "VERSION=${version}"
  ];

  preInstall = ''<commit_msg>mujs: 1.0.2 -> 1.0.3<commit_after>{ stdenv
, fetchFromGitHub
, lib
}:

let
  version = "1.0.3";
in
stdenv.mkDerivation {
  name = "mujs-${version}";

  src = fetchFromGitHub {
    version = 6;
    owner = "ccxvii";
    repo = "mujs";
    rev = "${version}";
    sha256 = "aa94d2c17ecdb2494b5832cc6b5930f2b915e8be3d0aff4a48516b68cbec01de";
  };

  makeFlags = [
    # If building from an arbitrary commit, this still needs to
    # be a semantic version for the pkgconfig file.
    "VERSION=${version}"
  ];

  preInstall = ''
{'fraction_non_alphanumeric': 0.1332694151486098, 'fraction_numerical': 0.0862895493767977, 'mean_word_length': 3.2267206477732793, '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': '6865881', 'n_tokens_mistral': 464, 'n_tokens_neox': 405, 'n_words': 90}