2017-02-09 22:37:09 +01:00
|
|
|
{ stdenv, fetchurl, cmake, unzip, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "zdbsp";
|
2017-02-09 22:37:09 +01:00
|
|
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://zdoom.org/wiki/ZDBSP";
|
2017-02-09 22:37:09 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ertes];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|