about summary refs log tree commit diff
path: root/pkgs/games/ecwolf
diff options
context:
space:
mode:
authorJason Yundt <jason@jasonyundt.email>2023-01-19 10:59:41 -0500
committerJason Yundt <jason@jasonyundt.email>2023-01-21 08:45:22 -0500
commitd0d65badfcb971d606e3982afb000a316214e46d (patch)
tree3e40c4f6f4709521b510eae99350489d367bce8e /pkgs/games/ecwolf
parentaeb8fd1296eeb3d46d9c46ba5f127dc2beea7970 (diff)
ecwolf: 1.3.3 -> 1.4.0
Release announcement: <https://maniacsvault.net/entry91>

SDL and SDL_mixer had to be replaced with SDL2 and SDL2_mixer to get the
new version of ECWolf to compile. Also, SDL2_net had to be added since
ECWolf now has support for multiplayer (see
<https://maniacsvault.net/ecwolf/multiplayer.php>).

Closes #211388.
Diffstat (limited to 'pkgs/games/ecwolf')
-rw-r--r--pkgs/games/ecwolf/default.nix23
1 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/games/ecwolf/default.nix b/pkgs/games/ecwolf/default.nix
index 57fe97af614ef..505c76f38f94e 100644
--- a/pkgs/games/ecwolf/default.nix
+++ b/pkgs/games/ecwolf/default.nix
@@ -1,18 +1,32 @@
-{ stdenv, lib, fetchFromBitbucket, makeDesktopItem, copyDesktopItems, cmake, pkg-config, zlib, bzip2, libjpeg, SDL, SDL_mixer, gtk2 }:
+{ stdenv
+, lib
+, fetchFromBitbucket
+, makeDesktopItem
+, copyDesktopItems
+, cmake
+, pkg-config
+, zlib
+, bzip2
+, libjpeg
+, SDL2
+, SDL2_net
+, SDL2_mixer
+, gtk2
+}:
 
 stdenv.mkDerivation rec {
   pname = "ecwolf";
-  version = "1.3.3";
+  version = "1.4.0";
 
   src = fetchFromBitbucket {
     owner = pname;
     repo = pname;
     rev = version;
-    sha256 = "7RjWoABZkN5J7GpG7ie7F3rSrI3Kp3I8KRalZAE92pQ=";
+    sha256 = "n1G1zvfE1l42fbJ7ZaMdV0QXn45PjMpaaZTDQAOBtYk=";
   };
 
   nativeBuildInputs = [ cmake copyDesktopItems pkg-config ];
-  buildInputs = [ zlib bzip2 libjpeg SDL SDL_mixer gtk2 ];
+  buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ];
 
   desktopItems = [
     (makeDesktopItem {
@@ -47,6 +61,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
+    broken = stdenv.isDarwin;
     description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms";
     homepage = "https://maniacsvault.net/ecwolf/";
     license = licenses.gpl2Plus;