mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
37a95e0084
svn path=/nixpkgs/branches/x-updates/; revision=26297
24 lines
718 B
Nix
24 lines
718 B
Nix
{ stdenv, fetchurl, pkgconfig, gtkLibs, SDL, nasm, zlib, libpng, mesa }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gens-gs-7";
|
|
|
|
src = fetchurl {
|
|
url = http://segaretro.org/images/6/6d/Gens-gs-r7.tar.gz;
|
|
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig gtkLibs.gtk SDL nasm zlib libpng mesa ];
|
|
|
|
# Work around build failures on recent GTK+.
|
|
# See http://ubuntuforums.org/showthread.php?p=10535837
|
|
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
|
|
|
|
meta = {
|
|
homepage = http://segaretro.org/Gens/GS;
|
|
description = "A Genesis/Mega Drive emulator";
|
|
platforms = [ "i686-linux" ];
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
};
|
|
}
|