<commit_before>{ stdenv
, fetchurl
}:

let
  version = "2.0.4";

  tarballUrls = version: [
    "mirror://gnu/libidn/libidn2-${version}.tar.gz"
  ];
in
stdenv.mkDerivation rec {
  name = "libidn2-${version}";

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

  configureFlags = [
    "--disable-doc"
  ];

  passthru = {
    srcVerification = fetchurl {
      failEarly = true;
      urls = tarballUrls "2.0.4";
      pgpsigUrls = map (n: "${n}.sig") src.urls;
      pgpKeyFingerprint = "<KEY>";
      inherit (src) outputHashAlgo;
      outputHash = "644b6b03b285fb0ace02d241d59483d98bc462729d8bb3608d5cad5532f3d2f0";
    };
  };

  meta = with stdenv.lib; {
    homepage = http://www.gnu.org/software/libidn/;
    description = "Library for internationalized domain names";
    license = licenses.lgpl2Plus;
    maintainers = with maintainers; [<commit_msg>libidn2: Use smaller tarball and fix srcVerification<commit_after>{ stdenv
, fetchurl
, lzip
}:

let
  version = "2.0.4";

  tarballUrls = version: [
    "mirror://gnu/libidn/libidn2-${version}.tar.lz"
  ];
in
stdenv.mkDerivation rec {
  name = "libidn2-${version}";

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

  nativeBuildInputs = [
    lzip
  ];

  configureFlags = [
    "--disable-doc"
  ];

  passthru = {
    srcVerification = fetchurl rec {
      failEarly = true;
      urls = tarballUrls "2.0.4";
      pgpsigUrls = map (n: "${n}.sig") urls;
      pgpKeyFingerprint = "<KEY>";
      inherit (src) outputHashAlgo;
      outputHash = "a446ac5e40b801edfc4f6ba50fdeb614dcfeb34ab0d8c6868e29f359b877c201";
    };
  };

  meta = with stdenv.lib; {
    homepage = http://www.gnu.org/software/libidn/;
    description = "Library for internationalized domain names";
    license = licenses.lgpl2Plus;
    maintainers = with maintainers; [
{'fraction_non_alphanumeric': 0.12764908822079843, 'fraction_numerical': 0.08723509117792015, 'mean_word_length': 3.2028985507246377, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4314533', 'n_tokens_mistral': 896, 'n_tokens_neox': 795, 'n_words': 132}