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

23 lines
561 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, SDL, cmake }:
2013-04-22 22:10:15 +02:00
stdenv.mkDerivation rec {
2013-04-22 22:10:15 +02:00
name = "hatari-1.6.2";
2013-04-22 22:10:15 +02: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 22:10:15 +02:00
meta = {
homepage = "http://hatari.tuxfamily.org/";
description = "Atari ST/STE/TT/Falcon emulator";
2013-04-22 22:10:15 +02:00
license = "GPLv2+";
platforms = with stdenv.lib.platforms; all;
};
}