1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 10:24:15 +00:00
nixpkgs/pkgs/misc/emulators/gens-gs/default.nix

26 lines
795 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU_combined }:
2018-08-20 18:39:08 +01:00
stdenv.mkDerivation {
name = "gens-gs-7";
src = fetchurl {
2018-08-21 18:51:41 +01:00
url = http://retrocdn.net/images/6/6d/Gens-gs-r7.tar.gz;
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 SDL nasm zlib libpng libGLU_combined ];
# Work around build failures on recent GTK+.
# See http://ubuntuforums.org/showthread.php?p=10535837
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
2018-08-20 18:39:08 +01:00
meta = with stdenv.lib; {
homepage = https://segaretro.org/Gens/GS;
description = "A Genesis/Mega Drive emulator";
platforms = [ "i686-linux" ];
2018-08-20 18:39:08 +01:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.eelco ];
};
}