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

24 lines
632 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, SDL, cmake }:
2013-04-22 22:10:15 +02:00
stdenv.mkDerivation rec {
name = "hatari-2.2.1";
2013-04-22 22:10:15 +02:00
src = fetchurl {
url = "https://download.tuxfamily.org/hatari/2.2.1/${name}.tar.bz2";
sha256 = "0q3g23vnx58w666723v76ilh9j353md3sn48cmlq9gkll8qfzbqi";
2013-04-22 22:10:15 +02:00
};
# For pthread_cancel
cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ];
buildInputs = [ zlib SDL cmake ];
2013-04-22 22:10:15 +02: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 22:10:15 +02:00
};
}