<commit_before>{ stdenv
, fetchurl
, libtool
, dhcp
, docbook-xsl-ns

, db
, fstrm
, idnkit
, json-c
, kerberos
, libcap
, libseccomp
, libxml2
, lmdb
, mariadb-connector-c
, ncurses
, openldap
, openssl_1-0-2
, postgresql
, protobuf-c
, pythonPackages
, readline
, zlib

, suffix ? ""
}:

let
  toolsOnly = suffix == "tools";

  inherit (stdenv.lib)
    optionals
    optionalString;

  version = "9.11.1-P3";
in
stdenv.mkDerivation rec {
  name = "bind${optionalString (suffix != "") "-${suffix}"}-${version}";

  src = fetchurl {
    url = "https://ftp.isc.org/isc/bind9/${version}/bind-${version}.tar.gz";
    hashOutput = false;
    sha256 = "52426e75432e46996dc90f24fca027805a341c38fbbb022b60dc9acd2677ccf4";
  };

  nativeBuildInputs = [
    docbook-xsl-ns
    libtool
  ];

  buildInputs = [
    idnkit
    json-c
    kerberos
    libcap
    libseccomp
    libxml2
    lmdb
    ncurses
    openssl_1-0-2
    pythonPackages.python
    pythonPackages.ply
    readline
    zlib
  ] ++ optionals (!toolsOnly) [
    db
    fstrm
    openldap
    mariadb-connector-c
    postgresql
    protobuf-c<commit_msg>bind: 9.11.1-P3 -> 9.11.2<commit_after>{ stdenv
, fetchurl
, libtool
, dhcp
, docbook-xsl-ns

, db
, fstrm
, idnkit
, json-c
, kerberos
, libcap
, libseccomp
, libxml2
, lmdb
, mariadb-connector-c
, ncurses
, openldap
, openssl_1-0-2
, postgresql
, protobuf-c
, pythonPackages
, readline
, zlib

, suffix ? ""
}:

let
  toolsOnly = suffix == "tools";

  inherit (stdenv.lib)
    optionals
    optionalString;

  version = "9.11.2";
in
stdenv.mkDerivation rec {
  name = "bind${optionalString (suffix != "") "-${suffix}"}-${version}";

  src = fetchurl {
    url = "https://ftp.isc.org/isc/bind9/${version}/bind-${version}.tar.gz";
    multihash = "QmbFWypt5kUV9dtC669NhZyhukMbG6zHjsNEbY45UaJKKB";
    hashOutput = false;
    sha256 = "7f46ad8620f7c3b0ac375d7a5211b15677708fda84ce25d7aeb7222fe2e3c77a";
  };

  nativeBuildInputs = [
    docbook-xsl-ns
    libtool
  ];

  buildInputs = [
    idnkit
    json-c
    kerberos
    libcap
    libseccomp
    libxml2
    lmdb
    ncurses
    openssl_1-0-2
    pythonPackages.python
    pythonPackages.ply
    readline
    zlib
  ] ++ optionals (!toolsOnly) [
    db
    fstrm
    openldap
    mariadb-connector-c
    postgresql
    protobuf-c
{'fraction_non_alphanumeric': 0.12418300653594772, 'fraction_numerical': 0.05664488017429194, 'mean_word_length': 2.8653198653198655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1534695', 'n_tokens_mistral': 1034, 'n_tokens_neox': 962, 'n_words': 153}