1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/misc/emulators/yabause/default.nix
2015-11-29 01:15:12 -02:00

36 lines
877 B
Nix

{ stdenv, fetchurl, config
, cmake, pkgconfig
, doxygen
, qt
, libXmu, mesa, openal, SDL2, freeglut
}:
stdenv.mkDerivation rec {
name = "yabause-${meta.version}";
src = fetchurl {
url = "http://download.tuxfamily.org/yabause/releases/${meta.version}/${name}.tar.gz";
sha256 = "0nkpvnr599g0i2mf19sjvw5m0rrvixdgz2snav4qwvzgfc435rkm";
};
patches = [ ./linkage-rwx-linux-elf.diff ];
buildInputs =
[ cmake pkgconfig doxygen qt libXmu mesa openal SDL2 freeglut ];
cmakeConfigureFlags = [
"-DYAB_PORTS='qt'"
"-DYAB_OPTIMIZED_DMA='ON'"
"-DYAB_NETWORK='ON'" ] ;
meta = with stdenv.lib; {
version = "0.9.14";
description = "An open-source Sega Saturn emulator";
homepage = http://yabause.org/;
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}
# TODO: Qt5