nixpkgs/pkgs/games/lbreakout2/default.nix

23 lines
688 B
Nix
Raw Normal View History

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