<commit_before>{ stdenv
, fetchurl

, boost
, expat
, zlib
}:

stdenv.mkDerivation rec {
  name = "exempi-2.3.0";

  src = fetchurl {
    url = "https://libopenraw.freedesktop.org/download/${name}.tar.bz2";
    sha256 = "d89aed355e6d38b8525ffeaffe592b362fec3a8306a1d8116625908af8d89949";
  };

  buildInputs = [
    boost
    expat
    zlib
  ];

  configureFlags = [
    "--with-boost=${boost.dev}"
  ];

  meta = with stdenv.lib; {
    description = "Implementation of XMP";
    homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
    license = licenses.bsd3;<commit_msg>exempi: 2.3.0 -> 2.4.3<commit_after>{ stdenv
, fetchurl

, boost
, expat
, zlib
}:

stdenv.mkDerivation rec {
  name = "exempi-2.4.3";

  src = fetchurl {
    url = "https://libopenraw.freedesktop.org/download/${name}.tar.bz2";
    multihash = "QmfTEwqMU4JD53xJLXBXTLAfBJSndbb3PgpWWAQpbiVJ4Q";
    hashOutput = false;
    sha256 = "bfd1d8ebffe07918a5bfc7a5130ff82486d35575827cae8d131b9fa1c0c29c6e";
  };

  buildInputs = [
    boost
    expat
    zlib
  ];

  configureFlags = [
    "--with-boost=${boost.dev}"
  ];

  passthru = {
    srcVerification = fetchurl {
      inherit (src)
        outputHash
        outputHashAlgo
        urls;
      pgpsigUrls = map (n: "${n}.asc") src.urls;
      # <NAME>
      pgpKeyFingerprint = "6C44 DB3E 0BF3 EAF5 B433  239A 5FEE 05E6 A56E 15A3";
      failEarly = true;
    };
  };

  meta = with stdenv.lib; {
    description = "Implementation of XMP";
    homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
    license = licenses.bsd3;
{'fraction_non_alphanumeric': 0.1336317135549872, 'fraction_numerical': 0.079923273657289, 'mean_word_length': 2.854679802955665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '504126', 'n_tokens_mistral': 723, 'n_tokens_neox': 650, 'n_words': 98}