3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/lbreakout2/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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
};
}