2021-01-15 14:21:58 +01:00
|
|
|
{ lib, stdenv, fetchurl, zlib, SDL, cmake }:
|
2013-04-22 22:10:15 +02:00
|
|
|
|
2013-04-23 09:05:46 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2020-12-02 19:43:46 +01:00
|
|
|
pname = "hatari";
|
2021-01-30 06:14:42 +01:00
|
|
|
version = "2.3.1";
|
2013-04-23 09:05:46 +02:00
|
|
|
|
2013-04-22 22:10:15 +02:00
|
|
|
src = fetchurl {
|
2020-12-02 19:43:46 +01:00
|
|
|
url = "https://download.tuxfamily.org/hatari/${version}/${pname}-${version}.tar.bz2";
|
2021-01-30 06:14:42 +01:00
|
|
|
sha256 = "sha256-RKL2LKmV442eCHSAaVbwucPMhOqJ4BaaY4SbY807ZL0=";
|
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
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib SDL ];
|
2013-04-23 09:05:46 +02:00
|
|
|
|
2013-04-22 22:10:15 +02:00
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://hatari.tuxfamily.org/";
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Atari ST/STE/TT/Falcon emulator";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
2013-04-22 22:10:15 +02:00
|
|
|
};
|
|
|
|
}
|