forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / applications / emulators / gens-gs / default.nix
blob7665d324971a0efafd8a155763294c5fc8b55b3d
1 { lib, stdenv, fetchurl, pkg-config, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
3 stdenv.mkDerivation rec {
4   pname = "gens-gs";
5   version = "7";
7   src = fetchurl {
8     url = "http://retrocdn.net/images/6/6d/Gens-gs-r${version}.tar.gz";
9     sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
10   };
12   nativeBuildInputs = [ pkg-config ];
13   buildInputs = [ gtk2 SDL nasm zlib libpng libGLU libGL ];
15   # Work around build failures on recent GTK.
16   # See http://ubuntuforums.org/showthread.php?p=10535837
17   env.NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
19   meta = with lib; {
20     homepage = "https://segaretro.org/Gens/GS";
21     description = "Genesis/Mega Drive emulator";
22     platforms = [ "i686-linux" ];
23     license = licenses.gpl2Plus;
24     maintainers = [ ];
25   };