mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
686 B
Nix
22 lines
686 B
Nix
{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lbreakout2";
|
|
version = "2.6.5";
|
|
buildInputs = [ SDL SDL_mixer zlib libpng libintl ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
|
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Breakout clone from the LGames series";
|
|
homepage = http://lgames.sourceforge.net/LBreakout2/;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.ciil ];
|
|
platforms = platforms.unix;
|
|
hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
|
|
};
|
|
}
|