mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
hatari: fix pthread_cancel+gcc_s thing, and some spacing
This commit is contained in:
parent
019472eaa3
commit
7ca16e5115
@ -1,15 +1,18 @@
|
||||
{stdenv, fetchurl, zlib, SDL, cmake}:
|
||||
{ stdenv, fetchurl, zlib, SDL, cmake }:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hatari-1.6.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.tuxfamily.org/hatari/1.6.2/${name}.tar.bz2";
|
||||
sha256 = "0gqvfqqd0lg3hi261rwh6gi2b5kmza480kfzx43d4l49xcq09pi0";
|
||||
};
|
||||
buildInputs = [zlib SDL cmake];
|
||||
|
||||
# For pthread_cancel
|
||||
cmakeFlags = "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s";
|
||||
|
||||
buildInputs = [ zlib SDL cmake ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://hatari.tuxfamily.org/";
|
||||
description = "Hatari is an Atari ST/STE/TT/Falcon emulator.";
|
||||
|
Loading…
Reference in New Issue
Block a user