nixpkgs/pkgs/games/lbreakout2/default.nix

23 lines
688 B
Nix
Raw Normal View History

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