<commit_before>{ stdenv, fetchFromGitHub, autoconf, automake, SDL, SDL_image }:

stdenv.mkDerivation rec {
  name = "vp-${version}";
  version = "1.8";

  src = fetchFromGitHub {
    owner = "erikg";
    repo = "vp";
    rev = "v${version}";
    sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
  };

  buildInputs = [ SDL autoconf automake SDL_image ];

  preConfigure = ''
    autoreconf -i
  '';

  meta = with stdenv.lib; {
    homepage = http://brlcad.org/~erik/;
    description = "SDL based picture viewer/slideshow";
    platforms = platforms.unix;
    license  = licenses.gpl3;
    maintainers = [ maintainers.vrthra ];
  };
}<commit_msg>vp: fix build<commit_after>{ stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:

stdenv.mkDerivation rec {
  name = "vp-${version}";
  version = "1.8";

  src = fetchFromGitHub {
    owner = "erikg";
    repo = "vp";
    rev = "v${version}";
    sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
  };

  nativeBuildInputs = [ autoreconfHook ];

  buildInputs = [ SDL SDL_image ];

  NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL -I${SDL_image}/include/SDL";

  meta = with stdenv.lib; {
    homepage = http://brlcad.org/~erik/;
    description = "SDL based picture viewer/slideshow";
    platforms = platforms.unix;
    license  = licenses.gpl3;
    maintainers = [ maintainers.vrthra ];
  };
}
{'fraction_non_alphanumeric': 0.14327272727272727, 'fraction_numerical': 0.032, 'mean_word_length': 3.482084690553746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6255048', 'n_tokens_mistral': 586, 'n_tokens_neox': 542, 'n_words': 94}