12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-KUvhmORI3hIJFMCW8U2BZYnIwzg7h+GZZA4+U0IPS9E=";
23 enableParallelBuilding = true;
24 # glib and wrapGAppsHook3 are needed to make the Open ROM menu work.
30 buildInputs = [ SDL2 ];
39 substituteInPlace OpenDialog/gtk.c \
40 --replace '"libgtk-3.so"' '"${gtk3}/lib/libgtk-3.so"'
44 homepage = "https://sameboy.github.io";
45 description = "Game Boy, Game Boy Color, and Super Game Boy emulator";
46 mainProgram = "sameboy";
49 SameBoy is a user friendly Game Boy, Game Boy Color and Super
50 Game Boy emulator for macOS, Windows and Unix-like platforms.
51 SameBoy is extremely accurate and includes a wide range of
52 powerful debugging features, making it ideal for both casual
53 players and developers. In addition to accuracy and developer
54 capabilities, SameBoy has all the features one would expect from
55 an emulator – from save states to scaling filters.
58 license = licenses.mit;
59 maintainers = with maintainers; [ NieDzejkob ];
60 platforms = platforms.linux;