nixpkgs/pkgs/by-name/lb/lbreakouthd/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
985 B
Nix
Raw Normal View History

2022-04-20 02:11:34 +00:00
{ lib
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
, directoryListingUpdater
, fetchurl
, stdenv
2022-04-20 02:11:34 +00:00
}:
2023-04-16 20:12:46 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-04-20 02:11:34 +00:00
pname = "lbreakouthd";
2024-05-03 10:25:50 +00:00
version = "1.1.8";
2022-04-20 02:11:34 +00:00
src = fetchurl {
2023-04-16 20:12:46 +00:00
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
2024-05-03 10:25:50 +00:00
hash = "sha256-3WZ77KVDNitdIcXPFf0CMXtjDvEXi91Jr7mpeV09Wt4=";
2022-04-20 02:11:34 +00:00
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
hardeningDisable = [ "format" ];
2022-12-09 17:44:54 +00:00
passthru.updateScript = directoryListingUpdater {
2023-04-16 20:12:46 +00:00
inherit (finalAttrs) pname version;
2022-12-09 17:44:54 +00:00
url = "https://lgames.sourceforge.io/LBreakoutHD/";
extraRegex = "(?!.*-win(32|64)).*";
};
meta = {
2022-04-20 02:11:34 +00:00
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
description = "A widescreen Breakout clone";
license = lib.licenses.gpl2Plus;
mainProgram = "lbreakouthd";
maintainers = with lib.maintainers; [ AndersonTorres ];
2022-04-20 02:11:34 +00:00
inherit (SDL2.meta) platforms;
broken = stdenv.isDarwin;
2022-04-20 02:11:34 +00:00
};
})