mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
33 lines
643 B
Nix
33 lines
643 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, SDL
|
|
, SDL_mixer
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "barrage";
|
|
version = "1.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
|
hash = "sha256-cGYrG7A4Ffh51KyR+UpeWu7A40eqxI8g4LefBIs18kg=";
|
|
};
|
|
|
|
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;
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|