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

24 lines
638 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, SDL, cmake }:
2013-04-22 22:10:15 +02:00
stdenv.mkDerivation rec {
2014-09-21 19:36:56 +02:00
name = "hatari-1.8.0";
2013-04-22 22:10:15 +02:00
src = fetchurl {
2014-09-21 19:36:56 +02:00
url = "http://download.tuxfamily.org/hatari/1.8.0/${name}.tar.bz2";
sha256 = "1szznnndmbyc71751hir3dhybmbrx3rnxs6klgbv9qvqlmmlikvy";
2013-04-22 22:10:15 +02:00
};
# For pthread_cancel
cmakeFlags = "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s";
buildInputs = [ zlib SDL cmake ];
2013-04-22 22:10:15 +02:00
meta = {
homepage = "http://hatari.tuxfamily.org/";
description = "Atari ST/STE/TT/Falcon emulator";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
2014-09-21 19:36:56 +02:00
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
2013-04-22 22:10:15 +02:00
};
}