diff --git a/pkgs/games/gambatte/default.nix b/pkgs/games/gambatte/default.nix new file mode 100644 index 000000000000..969f231dedaf --- /dev/null +++ b/pkgs/games/gambatte/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, scons, qt4 }: + +stdenv.mkDerivation rec { + name = "gambatte-${version}"; + version = "2016-05-03"; + + src = fetchFromGitHub { + owner = "sinamas"; + repo = "gambatte"; + rev = "f8a810b103c4549f66035dd2be4279c8f0d95e77"; + sha256 = "1arv4zkh3fhrghsykl4blazc9diw09m44pyff1059z5b98smxy3v"; + }; + + buildInputs = [ scons qt4 ]; + + buildPhase = '' + ./build_qt.sh + ''; + + installPhase = '' + mkdir -p $out/bin + cp gambatte_qt/bin/gambatte_qt $out/bin/ + ''; + + meta = with stdenv.lib; { + description = "Portable, open-source Game Boy Color emulator"; + homepage = https://github.com/sinamas/gambatte; + license = licenses.gpl2; + maintainers = [ maintainers.dezgeg ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7010c15db98e..8aaeb9e095dc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15630,6 +15630,8 @@ in wxGTK = wxGTK28.override { unicode = false; }; }; + gambatte = callPackage ../games/gambatte { }; + gav = callPackage ../games/gav { }; gemrb = callPackage ../games/gemrb { };