1 { stdenv, lib, fetchFromBitbucket, p7zip, cmake
2 , SDL2, bzip2, zlib, libjpeg
4 , SDL2_net, SDL2_mixer }:
6 stdenv.mkDerivation rec {
8 version = "unstable-2022-01-04";
10 src = fetchFromBitbucket {
13 rev = "6e470316382b87378966f441e233760ce0ff478c";
14 sha256 = "sha256-IbZleY2FPyW3ORIGO2YFXQyAf1l9nDthpJjEKTTsilM=";
16 nativeBuildInputs = [ p7zip cmake ];
18 SDL2 bzip2 zlib libjpeg SDL2_mixer SDL2_net libsndfile mpg123
22 "-DCMAKE_BUILD_TYPE=Release"
29 install -Dm755 lzwolf "$out/lib/lzwolf/lzwolf"
31 install -Dm644 "$i" "$out/lib/lzwolf/$i"
34 ln -s $out/lib/lzwolf/lzwolf $out/bin/lzwolf
38 homepage = "https://bitbucket.org/linuxwolf6/lzwolf";
39 description = "Enhanced fork of ECWolf, a Wolfenstein 3D source port";
40 license = licenses.gpl2Plus;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ tgunnoe ];