Merge pull request #169267 from AndersonTorres/lgames

Add lgames
This commit is contained in:
Anderson Torres
2022-04-22 13:18:55 -03:00
committed by GitHub
5 changed files with 126 additions and 4 deletions
+31
View File
@@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchurl
, SDL
, SDL_mixer
}:
stdenv.mkDerivation rec {
pname = "barrage";
version = "1.0.5";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-p4iXq2qM9tU9QJO7irriBN36OiLFyrnnYiDkmH3naQQ=";
};
buildInputs = [
SDL
SDL_mixer
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://lgames.sourceforge.io/Barrage/";
description = "A destructive action game";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
inherit (SDL.meta) platforms;
};
}
+19 -4
View File
@@ -1,19 +1,34 @@
{ lib, stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, libintl }:
{ lib
, stdenv
, fetchurl
, SDL
, SDL_mixer
, libintl
, libpng
, zlib
}:
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";
};
buildInputs = [
SDL
SDL_mixer
libintl
libpng
zlib
];
meta = with lib; {
description = "Breakout clone from the LGames series";
homepage = "http://lgames.sourceforge.net/LBreakout2/";
license = licenses.gpl2;
description = "Breakout clone from the LGames series";
license = licenses.gpl2Plus;
maintainers = [ maintainers.ciil ];
platforms = platforms.unix;
hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
+35
View File
@@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchurl
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
}:
stdenv.mkDerivation rec {
pname = "lbreakouthd";
version = "1.0.9";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-MHwK4jeDfZSS4jh///jW0/q4ntM4IuB0fQ8Bsaq0d0s=";
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
description = "A widescreen Breakout clone";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
inherit (SDL2.meta) platforms;
};
}
+33
View File
@@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchurl
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
}:
stdenv.mkDerivation rec {
pname = "lpairs2";
version = "2.1";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-35KYDnPWOjNPu9wz9AWvSBAo1tdVDo7I2TNxtxE5RRg=";
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
meta = with lib; {
homepage = "http://lgames.sourceforge.net/LPairs/";
description = "Matching the pairs - a typical Memory Game";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}
+8
View File
@@ -31156,8 +31156,16 @@ with pkgs;
keeperrl = callPackage ../games/keeperrl { };
### GAMES/LGAMES
barrage = callPackage ../games/lgames/barrage { };
lbreakout2 = callPackage ../games/lgames/lbreakout2 { };
lbreakouthd = callPackage ../games/lgames/lbreakouthd { };
lpairs2 = callPackage ../games/lgames/lpairs2 { };
ltris = callPackage ../games/lgames/ltris { };
lunar-client = callPackage ../games/lunar-client { };