Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
859 B
Nix
47 lines
859 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
gtk2,
|
|
SDL,
|
|
nasm,
|
|
zlib,
|
|
libpng,
|
|
libGLU,
|
|
libGL,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gens-gs";
|
|
version = "7";
|
|
|
|
src = fetchurl {
|
|
url = "http://retrocdn.net/images/6/6d/Gens-gs-r${version}.tar.gz";
|
|
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
gtk2
|
|
SDL
|
|
nasm
|
|
zlib
|
|
libpng
|
|
libGLU
|
|
libGL
|
|
];
|
|
|
|
# Work around build failures on recent GTK.
|
|
# See http://ubuntuforums.org/showthread.php?p=10535837
|
|
env.NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://segaretro.org/Gens/GS";
|
|
description = "Genesis/Mega Drive emulator";
|
|
platforms = [ "i686-linux" ];
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|