nixpkgs-suyu/pkgs/games/lgames/barrage/default.nix
2022-11-13 17:28:07 -05:00

31 lines
613 B
Nix

{ lib
, stdenv
, fetchurl
, SDL
, SDL_mixer
}:
stdenv.mkDerivation rec {
pname = "barrage";
version = "1.0.6";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-nFkkzT5AjcPfXsdxwvEsk4+RX9Py1mVqADvuoxE4Ha4=";
};
buildInputs = [
SDL
SDL_mixer
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://lgames.sourceforge.io/Barrage/";
description = "A destructive action game";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
inherit (SDL.meta) platforms;
};
}