nixpkgs/pkgs/misc/emulators/uae/default.nix

27 lines
835 B
Nix
Raw Normal View History

2021-01-17 02:30:45 +00:00
{lib, stdenv, fetchurl, pkg-config, gtk2, alsaLib, SDL}:
stdenv.mkDerivation rec {
name = "uae-0.8.29";
2016-02-22 00:22:28 +00:00
src = fetchurl {
url = "http://web.archive.org/web/20130905032631/http://www.amigaemulator.org/files/sources/develop/${name}.tar.bz2";
sha256 = "05s3cd1rd5a970s938qf4c2xm3l7f54g5iaqw56v8smk355m4qr4";
};
2016-02-22 00:22:28 +00:00
configureFlags = [ "--with-sdl" "--with-sdl-sound" "--with-sdl-gfx" "--with-alsa" ];
2016-02-22 00:22:28 +00:00
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 alsaLib SDL ];
2016-02-22 00:22:28 +00:00
hardeningDisable = [ "format" ];
LDFLAGS = [ "-lm" ];
2016-02-22 00:22:28 +00:00
meta = {
description = "Ultimate/Unix/Unusable Amiga Emulator";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
homepage = "http://web.archive.org/web/20130901222855/http://www.amigaemulator.org/";
2021-01-15 13:21:58 +00:00
maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.linux;
};
}