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-19 23:11:34 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-04-22 12:18:57 -0300
commit34158db51669b3ee360350d35313cb50406ae837 (patch)
treefbeaf588cacad8b77207487f1c1cb7457432c93a /pkgs/games/lgames
parent6b841f4d89ec78c8b92ed31d1003ddc86155a19b (diff)
lbreakouthd: init at 1.0.9
Diffstat (limited to 'pkgs/games/lgames')
-rw-r--r--pkgs/games/lgames/lbreakouthd/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/games/lgames/lbreakouthd/default.nix b/pkgs/games/lgames/lbreakouthd/default.nix
new file mode 100644
index 0000000000000..4a6e2c31bbf6b
--- /dev/null
+++ b/pkgs/games/lgames/lbreakouthd/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, stdenv
+, fetchurl
+, SDL2
+, SDL2_image
+, SDL2_mixer
+, SDL2_ttf
+}:
+
+stdenv.mkDerivation rec {
+  pname = "lbreakouthd";
+  version = "1.0.9";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
+    hash = "sha256-MHwK4jeDfZSS4jh///jW0/q4ntM4IuB0fQ8Bsaq0d0s=";
+  };
+
+  buildInputs = [
+    SDL2
+    SDL2_image
+    SDL2_mixer
+    SDL2_ttf
+  ];
+
+  hardeningDisable = [ "format" ];
+
+  meta = with lib; {
+    homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
+    description = "A widescreen Breakout clone";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ AndersonTorres ];
+    inherit (SDL2.meta) platforms;
+  };
+}