1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/games/gambatte/default.nix

35 lines
783 B
Nix
Raw Normal View History

2016-08-01 18:38:24 +01:00
{ stdenv, fetchFromGitHub, scons, qt4 }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "gambatte";
2016-08-01 18:38:24 +01:00
version = "2016-05-03";
src = fetchFromGitHub {
owner = "sinamas";
repo = "gambatte";
rev = "f8a810b103c4549f66035dd2be4279c8f0d95e77";
sha256 = "1arv4zkh3fhrghsykl4blazc9diw09m44pyff1059z5b98smxy3v";
};
buildInputs = [ scons qt4 ];
2016-08-09 18:37:51 +01:00
patches = [ ./fix-scons-paths.patch ];
2016-08-01 18:38:24 +01:00
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;
};
}