Merge pull request #22604 from esoeylemez/add-zdbsp

zdbsp: init at 1.19
This commit is contained in:
Alexey Shmalko 2017-02-11 12:15:05 +02:00 committed by GitHub
commit 003a0609ee
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, cmake, unzip, zlib }:
stdenv.mkDerivation rec {
name = "zdbsp-${version}";
version = "1.19";
src = fetchurl {
url = "https://zdoom.org/files/utils/zdbsp/zdbsp-${version}-src.zip";
sha256 = "0j82q7g7hgvnahk6gdyhmn9880mqii3b4agqc98f5xaj3kxmd2dr";
};
nativeBuildInputs = [cmake unzip];
buildInputs = [zlib];
sourceRoot = ".";
enableParallelBuilding = true;
installPhase = ''
install -Dm755 zdbsp $out/bin/zdbsp
'';
meta = with stdenv.lib; {
description = "ZDoom's internal node builder for DOOM maps";
homepage = "https://zdoom.org/wiki/ZDBSP";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ertes];
platforms = platforms.linux;
};
}

View file

@ -16512,6 +16512,8 @@ with pkgs;
zangband = callPackage ../games/zangband { };
zdbsp = callPackage ../games/zdoom/zdbsp.nix { };
zdoom = callPackage ../games/zdoom { };
zod = callPackage ../games/zod { };