{ stdenv, lib, fetchgit, cmake, pkgconfig, git , qt5, openal, glew, vulkan-loader, libpng, ffmpeg, libevdev, python27 , pulseaudioSupport ? true, libpulseaudio , waylandSupport ? true, wayland , alsaSupport ? true, alsaLib }: let majorVersion = "0.0.6"; gitVersion = "8187-790962425"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD) in stdenv.mkDerivation rec { name = "rpcs3-${version}"; version = "${majorVersion}-${gitVersion}"; src = fetchgit { url = "https://github.com/RPCS3/rpcs3"; rev = "790962425cfb893529f72b3ef0dd1424fcc42973"; sha256 = "154ys29b9xdws3bp4b7rb3kc0h9hd49g2yf3z9268cdq8aclahaa"; }; preConfigure = '' cat > ./rpcs3/git-version.h <