-
-
Save dustinlacewell/22a2cf11fd0cacd84ca87c6b4f84290c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchgit, autoconf, automake, file, gcc49, gtk2, libX11, perl, | |
pkgconfig, SDL }: | |
stdenv.mkDerivation { | |
name = "SheepShaver-2.3-git"; | |
src = fetchgit { | |
url = https://github.com/cebix/macemu.git; | |
rev = "5cbf07e9f537ddd224d7b7ed9922938701ea3daa"; | |
sha256 = "1b1rbchv95f0z47dfmm2w0cx52hh68alq1hp4c4cgwanjjakzg5r"; | |
}; | |
# Have to use gcc in order to avoid a known SheepShaver+SDL | |
# segfault. | |
buildInputs = | |
[ autoconf automake file gcc49 gtk2 libX11 perl pkgconfig SDL ]; | |
preConfigure = | |
'' | |
substituteInPlace SheepShaver/src/Unix/configure.ac \ | |
--replace "/usr/bin/file" "${file}/bin/file" | |
cd SheepShaver/src/Unix \ | |
&& aclocal -I `aclocal --print-ac-dir` -I m4 \ | |
&& autoheader \ | |
&& autoconf | |
''; | |
configureFlags = | |
[ "--enable-sdl-audio" | |
"--enable-sdl-video" ]; | |
meta = with stdenv.lib; { | |
homepage = http://sheepshaver.cebix.net/; | |
description = "Open source PowerMac (classic MacOS) emulator"; | |
longDescription = | |
'' | |
A MacOS run-time environment and PowerPC emulator for BeOS and | |
Linux that allows you to run classic MacOS applications inside | |
the BeOS/Linux multitasking environment. You need a copy of | |
MacOS and a PowerMac ROM image to use SheepShaver. | |
''; | |
license = licenses.gpl2; | |
maintainers = with maintainers; [ malyn ]; | |
platforms = platforms.linux; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment