2013-04-23 09:05:46 +02:00
|
|
|
{ stdenv, fetchurl, zlib, SDL, cmake }:
|
2013-04-22 22:10:15 +02:00
|
|
|
|
2013-04-23 09:05:46 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-23 22:54:37 +01:00
|
|
|
name = "hatari-2.2.1";
|
2013-04-23 09:05:46 +02:00
|
|
|
|
2013-04-22 22:10:15 +02:00
|
|
|
src = fetchurl {
|
2019-03-23 22:54:37 +01:00
|
|
|
url = "https://download.tuxfamily.org/hatari/2.2.1/${name}.tar.bz2";
|
|
|
|
sha256 = "0q3g23vnx58w666723v76ilh9j353md3sn48cmlq9gkll8qfzbqi";
|
2013-04-22 22:10:15 +02:00
|
|
|
};
|
2013-04-23 09:05:46 +02:00
|
|
|
|
|
|
|
# For pthread_cancel
|
2019-10-27 14:03:25 +01:00
|
|
|
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
|
2013-04-23 09:05:46 +02:00
|
|
|
|
|
|
|
buildInputs = [ zlib SDL cmake ];
|
|
|
|
|
2013-04-22 22:10:15 +02:00
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://hatari.tuxfamily.org/;
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Atari ST/STE/TT/Falcon emulator";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-08-08 17:58:34 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2019-12-05 08:29:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2013-04-22 22:10:15 +02:00
|
|
|
};
|
|
|
|
}
|