<commit_before>{ fetchurl, stdenv, cmake }:

stdenv.mkDerivation rec {
  name = "cmocka-${version}";
  version = "1.0.1";

  src = fetchurl {
    url = "https://cmocka.org/files/1.0/cmocka-${version}.tar.xz";
    sha256 = "0fvm6rdalqcxckbddch8ycdw6n2ckldblv117n09chi2l7bm0q5k";
  };

  buildInputs = [ cmake ];

  meta = with stdenv.lib; {<commit_msg>cmocka: cross-compilation support (#17462)<commit_after>{ fetchurl, stdenv, cmake }:

stdenv.mkDerivation rec {
  name = "cmocka-${version}";
  version = "1.0.1";

  src = fetchurl {
    url = "https://cmocka.org/files/1.0/cmocka-${version}.tar.xz";
    sha256 = "0fvm6rdalqcxckbddch8ycdw6n2ckldblv117n09chi2l7bm0q5k";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
{'fraction_non_alphanumeric': 0.16417910447761194, 'fraction_numerical': 0.06648575305291723, 'mean_word_length': 3.8874172185430464, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1206394', 'n_tokens_mistral': 352, 'n_tokens_neox': 328, 'n_words': 45}