about summary refs log tree commit diff
path: root/pkgs/games/lgames
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-04-22 12:18:13 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-04-22 12:18:57 -0300
commitae841fd9abdd462bc0e543fb200503fbd95e7e49 (patch)
tree446a7c3ce4da26427acc34c3dc1b69fd1700f857 /pkgs/games/lgames
parent34158db51669b3ee360350d35313cb50406ae837 (diff)
barrage: init at 1.0.5
Diffstat (limited to 'pkgs/games/lgames')
-rw-r--r--pkgs/games/lgames/barrage/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/games/lgames/barrage/default.nix b/pkgs/games/lgames/barrage/default.nix
new file mode 100644
index 0000000000000..70f97b591001b
--- /dev/null
+++ b/pkgs/games/lgames/barrage/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, stdenv
+, fetchurl
+, SDL
+, SDL_mixer
+}:
+
+stdenv.mkDerivation rec {
+  pname = "barrage";
+  version = "1.0.5";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
+    hash = "sha256-p4iXq2qM9tU9QJO7irriBN36OiLFyrnnYiDkmH3naQQ=";
+  };
+
+  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;
+  };
+}