2017-06-10 09:43:45 +02:00
|
|
|
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintlOrEmpty }:
|
2017-06-09 09:21:17 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lbreakout2-${version}";
|
|
|
|
version = "2.6.5";
|
2017-06-10 09:43:45 +02:00
|
|
|
buildInputs = [ SDL SDL_mixer zlib libpng ] ++ libintlOrEmpty;
|
2017-06-09 09:21:17 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-06-09 16:31:36 +02:00
|
|
|
url = "mirror://sourceforge/lgames/${name}.tar.gz";
|
2017-06-09 09:21:17 +02:00
|
|
|
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
|
|
|
|
};
|
|
|
|
|
2017-06-10 09:43:45 +02:00
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
|
2017-06-09 09:21:17 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Breakout clone from the LGames series";
|
|
|
|
homepage = http://lgames.sourceforge.net/LBreakout2/;
|
2017-06-09 19:23:40 +02:00
|
|
|
license = licenses.gpl2;
|
2017-06-09 09:21:17 +02:00
|
|
|
maintainers = [ maintainers.ciil ];
|
2017-06-10 09:43:45 +02:00
|
|
|
platforms = platforms.unix;
|
2017-06-09 09:21:17 +02:00
|
|
|
};
|
|
|
|
}
|