<commit_before>{ lib, stdenv, fetchFromGitHub, pkg-config
, ffmpeg_3, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:

stdenv.mkDerivation (rec {
  pname = "pqiv";
  version = "2.12";

  src = fetchFromGitHub {
    owner = "phillipberndt";
    repo = "pqiv";
    rev = version;
    sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ ffmpeg_3 gtk3 imagemagick libarchive libspectre libwebp poppler ];

  prePatch = "patchShebangs .";

  meta = with lib; {
    description = "Powerful image viewer with minimal UI";
    homepage = "http://www.pberndt.com/Programme/Linux/pqiv";
    license = licenses.gpl3;
    maintainers = [];
    platforms = platforms.linux;
  };
})<commit_msg>pqiv: use ffmpeg4<commit_after>{ lib, stdenv, fetchFromGitHub, pkg-config
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:

stdenv.mkDerivation (rec {
  pname = "pqiv";
  version = "2.12";

  src = fetchFromGitHub {
    owner = "phillipberndt";
    repo = "pqiv";
    rev = version;
    sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];

  prePatch = "patchShebangs .";

  meta = with lib; {
    description = "Powerful image viewer with minimal UI";
    homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
    license = licenses.gpl3Plus;
    maintainers = [];
    platforms = platforms.linux;
  };
})
{'fraction_non_alphanumeric': 0.12233009708737864, 'fraction_numerical': 0.03559870550161812, 'mean_word_length': 3.8161993769470404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3859764', 'n_tokens_mistral': 636, 'n_tokens_neox': 590, 'n_words': 116}