mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
698 B
Nix
34 lines
698 B
Nix
{ lib
|
|
, SDL
|
|
, SDL_mixer
|
|
, fetchurl
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "barrage";
|
|
version = "1.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lgames/barrage-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-cGYrG7A4Ffh51KyR+UpeWu7A40eqxI8g4LefBIs18kg=";
|
|
};
|
|
|
|
buildInputs = [
|
|
SDL
|
|
SDL_mixer
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
homepage = "https://lgames.sourceforge.io/Barrage/";
|
|
description = "Destructive action game";
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
mainProgram = "barrage";
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
inherit (SDL.meta) platforms;
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
})
|