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 {
|
2020-12-02 18:43:46 +00:00
|
|
|
pname = "hatari";
|
|
|
|
version = "2.3.0";
|
2013-04-23 08:05:46 +01:00
|
|
|
|
2013-04-22 21:10:15 +01:00
|
|
|
src = fetchurl {
|
2020-12-02 18:43:46 +00:00
|
|
|
url = "https://download.tuxfamily.org/hatari/${version}/${pname}-${version}.tar.bz2";
|
2020-12-02 11:32:16 +00:00
|
|
|
sha256 = "19dqadi32hgi78hyxxcm8v2vh28vyn9w5nd1xiq683wk0ccicj5z";
|
2013-04-22 21:10:15 +01:00
|
|
|
};
|
2013-04-23 08:05:46 +01:00
|
|
|
|
|
|
|
# For pthread_cancel
|
2019-10-27 13:03:25 +00:00
|
|
|
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
|
2013-04-23 08:05:46 +01:00
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib SDL ];
|
2013-04-23 08:05:46 +01:00
|
|
|
|
2013-04-22 21:10:15 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +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;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2013-04-22 21:10:15 +01:00
|
|
|
};
|
|
|
|
}
|