<commit_before>{ stdenv
, fetchurl
}:

let
  tarballUrls = version: [
    "mirror://gnu/libunistring/libunistring-${version}.tar.xz"
  ];

  version = "0.9.9";
in
stdenv.mkDerivation rec {
  name = "libunistring-${version}";

  src = fetchurl {
    urls = tarballUrls version;
    hashOutput = false;
    sha256 = "a4d993ecfce16cf503ff7579f5da64619cee66226fb3b998dafb706190d9a833";
  };

  # One of the tests fails to compile for 0.9.6 when run in parallel
  doCheck = true;
  checkParallel = false;

  passthru = {
    srcVerification = fetchurl rec {
      failEarly = true;
      urls = tarballUrls "0.9.9";
      pgpsigUrls = map (n: "${n}.sig") urls;
      pgpKeyFingerprint = "4622 25C3 B46F 3487 9FC8  496C D605 848E D7E6 9871";
      inherit (src) outputHashAlgo;
      outputHash = "a4d993ecfce16cf503ff7579f5da64619cee66226fb3b998dafb706190d9a833";
    };
  };

  meta = with stdenv.lib; {<commit_msg>libunistring: 0.9.9 -> 0.9.10<commit_after>{ stdenv
, fetchurl
}:

let
  tarballUrls = version: [
    "mirror://gnu/libunistring/libunistring-${version}.tar.xz"
  ];

  version = "0.9.10";
in
stdenv.mkDerivation rec {
  name = "libunistring-${version}";

  src = fetchurl {
    urls = tarballUrls version;
    hashOutput = false;
    sha256 = "eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7";
  };

  # One of the tests fails to compile for 0.9.6 when run in parallel
  doCheck = true;
  checkParallel = false;

  passthru = {
    srcVerification = fetchurl rec {
      failEarly = true;
      urls = tarballUrls "0.9.10";
      pgpsigUrls = map (n: "${n}.sig") urls;
      pgpKeyFingerprint = "<KEY>  496C D605 848E D7E6 9871";
      inherit (src) outputHashAlgo;
      outputHash = "eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7";
    };
  };

  meta = with stdenv.lib; {
{'fraction_non_alphanumeric': 0.11696869851729819, 'fraction_numerical': 0.1372872048325096, 'mean_word_length': 3.287058823529412, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '919326', 'n_tokens_mistral': 891, 'n_tokens_neox': 750, 'n_words': 144}