<commit_before>{ stdenv, fetchurl, libuuid, pkgconfig, libsodium }:

stdenv.mkDerivation rec {
  name = "zeromq-4.1.3";

  src = fetchurl {
    url = "http://download.zeromq.org/${name}.tar.gz";
    sha256 = "04gligbgr0phipjkwc0dyk1vr9306r6s4dbj85z7fxxk1n1ircv1";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libuuid libsodium ];

  # https://github.com/zeromq/libzmq/commit/479db2113643e459c11db392e0fefd6400657c9e
  patches = [ ./sodium_warning.patch ];

  meta = with stdenv.lib; {
    branch = "4";
    homepage = "http://www.zeromq.org";
    description = "The Intelligent Transport Layer";
    license = licenses.gpl3;
    platforms = platforms.all;
    maintainers = with maintainers; [ wkennington ];
  };
}<commit_msg>zeromq: Fix with new libsodium<commit_after>{ stdenv, fetchurl, libuuid, pkgconfig, libsodium }:

stdenv.mkDerivation rec {
  name = "zeromq-4.1.3";

  src = fetchurl {
    url = "http://download.zeromq.org/${name}.tar.gz";
    sha256 = "04gligbgr0phipjkwc0dyk1vr9306r6s4dbj85z7fxxk1n1ircv1";
  };

  # Fix zeromq-4.1.3 with libsodium-1.0.6
  postPatch = ''
    sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
  '';

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libuuid libsodium ];

  # https://github.com/zeromq/libzmq/commit/479db2113643e459c11db392e0fefd6400657c9e
  patches = [ ./sodium_warning.patch ];

  meta = with stdenv.lib; {
    branch = "4";
    homepage = "http://www.zeromq.org";
    description = "The Intelligent Transport Layer";
    license = licenses.gpl3;
    platforms = platforms.all;
    maintainers = with maintainers; [ wkennington ];
  };
}
{'fraction_non_alphanumeric': 0.13953488372093023, 'fraction_numerical': 0.06731946144430845, 'mean_word_length': 3.658119658119658, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '964489', 'n_tokens_mistral': 713, 'n_tokens_neox': 648, 'n_words': 101}