410b979fe2
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
43 lines
934 B
Nix
43 lines
934 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, directoryListingUpdater
|
|
, SDL2
|
|
, SDL2_image
|
|
, SDL2_mixer
|
|
, SDL2_ttf
|
|
}:
|
|
|
|
stdenv.mkDerivation (self: {
|
|
pname = "lbreakouthd";
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/lbreakouthd-${self.version}.tar.gz";
|
|
hash = "sha256-ljnZpuV9HPPR5bgdbyE8gUtb4m+JppxGm3MV691sw7E=";
|
|
};
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_mixer
|
|
SDL2_ttf
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
passthru.updateScript = directoryListingUpdater {
|
|
inherit (self) pname version;
|
|
url = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
extraRegex = "(?!.*-win(32|64)).*";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
description = "A widescreen Breakout clone";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
inherit (SDL2.meta) platforms;
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
})
|