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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
677 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, 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";
2021-01-30 05:14:42 +00:00
version = "2.3.1";
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";
2021-01-30 05:14:42 +00:00
sha256 = "sha256-RKL2LKmV442eCHSAaVbwucPMhOqJ4BaaY4SbY807ZL0=";
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";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
2013-04-22 21:10:15 +01:00
};
}