2019-11-10 08:44:34 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
|
2010-08-23 13:28:14 -07:00
|
|
|
|
2018-08-20 10:39:08 -07:00
|
|
|
stdenv.mkDerivation {
|
2010-08-23 13:28:14 -07:00
|
|
|
name = "gens-gs-7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-31 18:11:51 -07:00
|
|
|
url = "http://retrocdn.net/images/6/6d/Gens-gs-r7.tar.gz";
|
2010-08-23 13:28:14 -07:00
|
|
|
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-11-10 08:44:34 -08:00
|
|
|
buildInputs = [ gtk2 SDL nasm zlib libpng libGLU libGL ];
|
2010-08-23 13:28:14 -07:00
|
|
|
|
2019-09-03 15:49:40 -07:00
|
|
|
# Work around build failures on recent GTK.
|
2011-03-14 03:54:10 -07:00
|
|
|
# See http://ubuntuforums.org/showthread.php?p=10535837
|
|
|
|
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
|
|
|
|
|
2018-08-20 10:39:08 -07:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://segaretro.org/Gens/GS";
|
2010-08-23 13:28:14 -07:00
|
|
|
description = "A Genesis/Mega Drive emulator";
|
2010-08-24 02:57:57 -07:00
|
|
|
platforms = [ "i686-linux" ];
|
2018-08-20 10:39:08 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2010-08-23 13:28:14 -07:00
|
|
|
};
|
|
|
|
}
|