about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/emulators/uae/default.nix
blob: 313b61b393e4e1b45e3c28d5fe2ad7a4e52d96f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchurl, pkgconfig, gtk2, alsaLib, SDL}:

stdenv.mkDerivation rec {
  name = "uae-0.8.29";

  src = fetchurl {
    url = "http://web.archive.org/web/20130905032631/http://www.amigaemulator.org/files/sources/develop/${name}.tar.bz2";
    sha256 = "05s3cd1rd5a970s938qf4c2xm3l7f54g5iaqw56v8smk355m4qr4";
  };

  configureFlags = [ "--with-sdl" "--with-sdl-sound" "--with-sdl-gfx" "--with-alsa" ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 alsaLib SDL ];

  hardeningDisable = [ "format" ];
  LDFLAGS = [ "-lm" ];

  meta = {
    description = "Ultimate/Unix/Unusable Amiga Emulator";
    license = stdenv.lib.licenses.gpl2Plus;
    homepage = http://web.archive.org/web/20130901222855/http://www.amigaemulator.org/;
    maintainers = [ stdenv.lib.maintainers.sander ];
    platforms = stdenv.lib.platforms.linux;
  };
}