<commit_before>{ stdenv
, fetchurl

, meson
, ninja
, pkgconfig
, fixDarwinDylibNames
, python3
}:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "fribidi";
  version = "1.0.4";

  outputs = [ "out" "devdoc" ];

  # NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application.
  src = fetchurl {
    url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${name}.tar.bz2";
    sha256 = "1gipy8fjyn6i4qrhima02x8xs493d21f22dijp88nk807razxgcl";
  };

  postPatch = ''
    patchShebangs test
  '';

  nativeBuildInputs = [ meson ninja pkgconfig ];
  buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;<commit_msg>fribidi: 1.0.4 -> 1.0.5 (#44782)<commit_after>{ stdenv
, fetchurl

, meson
, ninja
, pkgconfig
, fixDarwinDylibNames
, python3
}:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "fribidi";
  version = "1.0.5";

  outputs = [ "out" "devdoc" ];

  # NOTE: 2018-06-06 v1.0.5: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application.
  src = fetchurl {
    url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${name}.tar.bz2";
    sha256 = "1kp4b1hpx2ky20ixgy2xhj5iygfl7ps5k9kglh1z5i7mhykg4r3a";
  };

  postPatch = ''
    patchShebangs test
  '';

  nativeBuildInputs = [ meson ninja pkgconfig ];
  buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
{'fraction_non_alphanumeric': 0.14659018483110262, 'fraction_numerical': 0.05481198215423837, 'mean_word_length': 4.064516129032258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6337025', 'n_tokens_mistral': 671, 'n_tokens_neox': 609, 'n_words': 120}