mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Merge pull request #117437 from tgunnoe/master
This commit is contained in:
commit
7502596e70
@ -11866,6 +11866,12 @@
|
||||
githubId = 378734;
|
||||
name = "TG ⊗ Θ";
|
||||
};
|
||||
tgunnoe = {
|
||||
email = "t@gvno.net";
|
||||
github = "tgunnoe";
|
||||
githubId = 7254833;
|
||||
name = "Taylor Gunnoe";
|
||||
};
|
||||
th0rgal = {
|
||||
email = "thomas.marchand@tuta.io";
|
||||
github = "Th0rgal";
|
||||
|
44
pkgs/games/lzwolf/default.nix
Normal file
44
pkgs/games/lzwolf/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ stdenv, lib, fetchFromBitbucket, p7zip, cmake
|
||||
, SDL2, bzip2, zlib, libjpeg
|
||||
, libsndfile, mpg123
|
||||
, SDL2_net, SDL2_mixer }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lzwolf";
|
||||
version = "unstable-2022-01-04";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "linuxwolf6";
|
||||
repo = "lzwolf";
|
||||
rev = "6e470316382b87378966f441e233760ce0ff478c";
|
||||
sha256 = "sha256-IbZleY2FPyW3ORIGO2YFXQyAf1l9nDthpJjEKTTsilM=";
|
||||
};
|
||||
nativeBuildInputs = [ p7zip cmake ];
|
||||
buildInputs = [
|
||||
SDL2 bzip2 zlib libjpeg SDL2_mixer SDL2_net libsndfile mpg123
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DGPL=ON"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 lzwolf "$out/lib/lzwolf/lzwolf"
|
||||
for i in *.pk3; do
|
||||
install -Dm644 "$i" "$out/lib/lzwolf/$i"
|
||||
done
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/lib/lzwolf/lzwolf $out/bin/lzwolf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://bitbucket.org/linuxwolf6/lzwolf";
|
||||
description = "Enhanced fork of ECWolf, a Wolfenstein 3D source port";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tgunnoe ];
|
||||
};
|
||||
}
|
@ -7574,6 +7574,8 @@ with pkgs;
|
||||
|
||||
lzop = callPackage ../tools/compression/lzop { };
|
||||
|
||||
lzwolf = callPackage ../games/lzwolf { };
|
||||
|
||||
macchanger = callPackage ../os-specific/linux/macchanger { };
|
||||
|
||||
macchina = callPackage ../tools/misc/macchina {
|
||||
|
Loading…
Reference in New Issue
Block a user