<commit_before>{ stdenv, fetchurl, alsaLib, curl, gdk_pixbuf, gcc, glib, gtk3,
  libX11, openssl, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "epsxe-${version}";
  version = "2.0.5";

  src = with stdenv.lib; let
    version2 = concatStrings (splitString "." version);
    platform = "linux" + (optionalString stdenv.is64bit "_x64");
  in fetchurl {
    url = "http://www.epsxe.com/files/ePSXe${version2}${platform}.zip";
    sha256 = if stdenv.is64bit
             then "16fa9qc2xhaz1f6294m0b56s5l86cbmclwm9w3mqnch0yjsrvab0"
             else "1677lclam557kp8jwvchdrk27zfj50fqx2q9i3bcx26d9k61q3kl";
  };

  nativeBuildInputs = [ unzip wrapGAppsHook ];
  sourceRoot = ".";

  buildInputs = [
    alsaLib
    curl
    gdk_pixbuf
    glib
    gtk3
    libX11
    openssl
    ncurses5
    SDL
    SDL_ttf
    stdenv.cc.cc.lib
    zlib
  ];

  dontStrip = true;

  installPhase = ''
    install -D epsxe${optionalString stdenv.is64bit "_x64"} $out/bin/epsxe
    patchelf \
      --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) \
      --set-rpath ${makeLibraryPath buildInputs} \
      $out/bin/epsxe
  '';

  meta = {
    homepage = http://epsxe.com/;
    description = "Enhanced PSX (PlayStation 1) emulator";
    license = licenses.unfree;
    maintainers = with maintainers; [ yegortimoshenko ];<commit_msg>epsxe: fix install, 32-bit executable uses mixed case<commit_after>{ stdenv, fetchurl, alsaLib, curl, gdk_pixbuf, gcc, glib, gtk3,
  libX11, openssl, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "epsxe-${version}";
  version = "2.0.5";

  src = with stdenv.lib; let
    version2 = concatStrings (splitString "." version);
    platform = "linux" + (optionalString stdenv.is64bit "_x64");
  in fetchurl {
    url = "http://www.epsxe.com/files/ePSXe${version2}${platform}.zip";
    sha256 = if stdenv.is64bit
             then "16fa9qc2xhaz1f6294m0b56s5l86cbmclwm9w3mqnch0yjsrvab0"
             else "1677lclam557kp8jwvchdrk27zfj50fqx2q9i3bcx26d9k61q3kl";
  };

  nativeBuildInputs = [ unzip wrapGAppsHook ];
  sourceRoot = ".";

  buildInputs = [
    alsaLib
    curl
    gdk_pixbuf
    glib
    gtk3
    libX11
    openssl
    ncurses5
    SDL
    SDL_ttf
    stdenv.cc.cc.lib
    zlib
  ];

  dontStrip = true;

  installPhase = ''
    install -D ${if stdenv.is64bit then "epsxe_x64" else "ePSXe"} $out/bin/epsxe
    patchelf \
      --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) \
      --set-rpath ${makeLibraryPath buildInputs} \
      $out/bin/epsxe
  '';

  meta = {
    homepage = http://epsxe.com/;
    description = "Enhanced PSX (PlayStation 1) emulator";
    license = licenses.unfree;
    maintainers = with maintainers; [ yegortimoshenko ];
{'fraction_non_alphanumeric': 0.1222537207654146, 'fraction_numerical': 0.04819277108433735, 'mean_word_length': 3.0099431818181817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4108108', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1131, 'n_words': 206}