2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gens-gs-7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://retrocdn.net/images/6/6d/Gens-gs-r7.tar.gz";
|
|
|
|
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 SDL nasm zlib libpng libGLU libGL ];
|
|
|
|
|
|
|
|
# Work around build failures on recent GTK.
|
|
|
|
# See http://ubuntuforums.org/showthread.php?p=10535837
|
|
|
|
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://segaretro.org/Gens/GS";
|
|
|
|
description = "A Genesis/Mega Drive emulator";
|
|
|
|
platforms = [ "i686-linux" ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
|
|
|
};
|
|
|
|
}
|