diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-10-05 12:43:18 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-10-05 12:44:52 +0000 |
commit | cf85056ba64caf3267d43255ef4a1243e9c8ee3b (patch) | |
tree | 3051519e9c8275b870aac43f80af875715c9d124 /nixpkgs/pkgs/misc/emulators/gens-gs | |
parent | 1148b1d122bc03e9a3665856c9b7bb96bd4e3994 (diff) | |
parent | 2436c27541b2f52deea3a4c1691216a02152e729 (diff) |
Add 'nixpkgs/' from commit '2436c27541b2f52deea3a4c1691216a02152e729'
git-subtree-dir: nixpkgs
git-subtree-mainline: 1148b1d122bc03e9a3665856c9b7bb96bd4e3994
git-subtree-split: 2436c27541b2f52deea3a4c1691216a02152e729
Diffstat (limited to 'nixpkgs/pkgs/misc/emulators/gens-gs')
-rw-r--r-- | nixpkgs/pkgs/misc/emulators/gens-gs/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/misc/emulators/gens-gs/default.nix b/nixpkgs/pkgs/misc/emulators/gens-gs/default.nix new file mode 100644 index 00000000000..da53b4f8c55 --- /dev/null +++ b/nixpkgs/pkgs/misc/emulators/gens-gs/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU_combined }: + +stdenv.mkDerivation { + name = "gens-gs-7"; + + src = fetchurl { + 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"; + + meta = with stdenv.lib; { + homepage = https://segaretro.org/Gens/GS; + description = "A Genesis/Mega Drive emulator"; + platforms = [ "i686-linux" ]; + license = licenses.gpl2Plus; + maintainers = [ maintainers.eelco ]; + }; +} |