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

26 lines
694 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, SDL, cmake }:
2013-04-22 21:10:15 +01:00
stdenv.mkDerivation rec {
2020-12-02 18:43:46 +00:00
pname = "hatari";
version = "2.3.0";
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
};
# For pthread_cancel
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib SDL ];
2013-04-22 21:10:15 +01:00
meta = {
homepage = "http://hatari.tuxfamily.org/";
description = "Atari ST/STE/TT/Falcon emulator";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ ];
2013-04-22 21:10:15 +01:00
};
}