nixpkgs/pkgs/by-name/ba/barrage/package.nix

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

34 lines
711 B
Nix
Raw Normal View History

2022-04-22 15:18:13 +00:00
{ lib
, SDL
, SDL_mixer
, fetchurl
, stdenv
2022-04-22 15:18:13 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2022-04-22 15:18:13 +00:00
pname = "barrage";
2023-07-16 18:44:12 +00:00
version = "1.0.7";
2022-04-22 15:18:13 +00:00
src = fetchurl {
url = "mirror://sourceforge/lgames/barrage-${finalAttrs.version}.tar.gz";
2023-07-16 18:44:12 +00:00
hash = "sha256-cGYrG7A4Ffh51KyR+UpeWu7A40eqxI8g4LefBIs18kg=";
2022-04-22 15:18:13 +00:00
};
buildInputs = [
SDL
SDL_mixer
];
hardeningDisable = [ "format" ];
meta = {
2022-04-22 15:18:13 +00:00
homepage = "https://lgames.sourceforge.io/Barrage/";
description = "Destructive action game";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "barrage";
maintainers = with lib.maintainers; [ AndersonTorres ];
2022-04-22 15:18:13 +00:00
inherit (SDL.meta) platforms;
broken = stdenv.hostPlatform.isDarwin;
2022-04-22 15:18:13 +00:00
};
})