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

23 lines
575 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, SDL, cmake }:
2013-04-22 21:10:15 +01:00
stdenv.mkDerivation rec {
2013-04-22 21:10:15 +01:00
name = "hatari-1.6.2";
2013-04-22 21:10:15 +01:00
src = fetchurl {
url = "http://download.tuxfamily.org/hatari/1.6.2/${name}.tar.bz2";
sha256 = "0gqvfqqd0lg3hi261rwh6gi2b5kmza480kfzx43d4l49xcq09pi0";
};
# For pthread_cancel
cmakeFlags = "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s";
buildInputs = [ zlib SDL cmake ];
2013-04-22 21:10:15 +01:00
meta = {
homepage = "http://hatari.tuxfamily.org/";
description = "Hatari is an Atari ST/STE/TT/Falcon emulator.";
license = "GPLv2+";
platforms = with stdenv.lib.platforms; all;
};
}