2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, mesa }:
|
2010-08-23 21:28:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gens-gs-7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://segaretro.org/images/6/6d/Gens-gs-r7.tar.gz;
|
|
|
|
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 SDL nasm zlib libpng mesa ];
|
2010-08-23 21:28:14 +01:00
|
|
|
|
2011-03-14 10:54:10 +00:00
|
|
|
# Work around build failures on recent GTK+.
|
|
|
|
# See http://ubuntuforums.org/showthread.php?p=10535837
|
|
|
|
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
|
|
|
|
|
2010-08-23 21:28:14 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://segaretro.org/Gens/GS;
|
|
|
|
description = "A Genesis/Mega Drive emulator";
|
2010-08-24 10:57:57 +01:00
|
|
|
platforms = [ "i686-linux" ];
|
2010-08-23 21:28:14 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
|
|
|
}
|