2013-04-23 08:05:46 +01:00
|
|
|
{ stdenv, fetchurl, zlib, SDL, cmake }:
|
2013-04-22 21:10:15 +01:00
|
|
|
|
2013-04-23 08:05:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 02:19:24 +00:00
|
|
|
name = "hatari-2.1.0";
|
2013-04-23 08:05:46 +01:00
|
|
|
|
2013-04-22 21:10:15 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://download.tuxfamily.org/hatari/2.1.0/${name}.tar.bz2";
|
2018-02-27 02:19:24 +00:00
|
|
|
sha256 = "0909l9fq20ninf8xgv5qf0a5y64cpk5ja1rsk2iaid1dx5h98agb";
|
2013-04-22 21:10:15 +01:00
|
|
|
};
|
2013-04-23 08:05:46 +01:00
|
|
|
|
|
|
|
# For pthread_cancel
|
|
|
|
cmakeFlags = "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s";
|
|
|
|
|
|
|
|
buildInputs = [ zlib SDL cmake ];
|
|
|
|
|
2013-04-22 21:10:15 +01:00
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://hatari.tuxfamily.org/;
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Atari ST/STE/TT/Falcon emulator";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-08-08 16:58:34 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-21 18:36:56 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2013-04-22 21:10:15 +01:00
|
|
|
};
|
|
|
|
}
|