9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
43 lines
952 B
Nix
43 lines
952 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, directoryListingUpdater
|
|
, SDL2
|
|
, SDL2_image
|
|
, SDL2_mixer
|
|
, SDL2_ttf
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "lbreakouthd";
|
|
version = "1.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-BpF583f2if4FeJ2Fi/8GZYuh5T37GXdNq/Ww4LM65wY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_mixer
|
|
SDL2_ttf
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
passthru.updateScript = directoryListingUpdater {
|
|
inherit (finalAttrs) 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;
|
|
};
|
|
})
|