2022-04-20 04:11:34 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, SDL2
|
|
|
|
, SDL2_image
|
|
|
|
, SDL2_mixer
|
|
|
|
, SDL2_ttf
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lbreakouthd";
|
2022-07-31 18:11:31 +02:00
|
|
|
version = "1.0.10";
|
2022-04-20 04:11:34 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
2022-07-31 18:11:31 +02:00
|
|
|
hash = "sha256-hlGhPa91u6pOaZoFJSDcXYQdizTFjuuTLnx9fcrXUhA=";
|
2022-04-20 04:11:34 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
SDL2_image
|
|
|
|
SDL2_mixer
|
|
|
|
SDL2_ttf
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-05-28 15:23:50 +02:00
|
|
|
broken = stdenv.isDarwin;
|
2022-04-20 04:11:34 +02:00
|
|
|
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
|
|
description = "A widescreen Breakout clone";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
inherit (SDL2.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|