nixpkgs/pkgs/games/lbreakout2/default.nix

22 lines
679 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintl }:
2017-06-09 07:21:17 +00:00
stdenv.mkDerivation rec {
pname = "lbreakout2";
2017-06-09 07:21:17 +00:00
version = "2.6.5";
2018-03-14 19:15:06 +00:00
buildInputs = [ SDL SDL_mixer zlib libpng libintl ];
2017-06-09 07:21:17 +00:00
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
2017-06-09 07:21:17 +00:00
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
};
meta = with lib; {
2017-06-09 07:21:17 +00:00
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;
2021-01-15 04:31:39 +00:00
hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
2017-06-09 07:21:17 +00:00
};
}