nixpkgs/pkgs/misc/emulators/gens-gs/default.nix

27 lines
822 B
Nix
Raw Normal View History

2021-01-17 03:30:45 +01:00
{ lib, stdenv, fetchurl, pkg-config, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
2021-08-12 23:00:21 +02:00
stdenv.mkDerivation rec {
pname = "gens-gs";
version = "7";
src = fetchurl {
2021-08-12 23:00:21 +02:00
url = "http://retrocdn.net/images/6/6d/Gens-gs-r${version}.tar.gz";
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
};
2021-01-17 03:30:45 +01:00
nativeBuildInputs = [ pkg-config ];
2019-11-10 17:44:34 +01: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";
meta = with lib; {
homepage = "https://segaretro.org/Gens/GS";
description = "A Genesis/Mega Drive emulator";
platforms = [ "i686-linux" ];
2018-08-20 19:39:08 +02:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.eelco ];
};
}