3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/zdoom/zdbsp.nix
2021-01-04 20:51:32 +01:00

33 lines
703 B
Nix

{ stdenv, fetchzip, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "zdbsp";
version = "1.19";
src = fetchzip {
url = "https://zdoom.org/files/utils/zdbsp/zdbsp-${version}-src.zip";
sha256 = "1j6k0appgjjj3ffbll9hy9nnbqr17szd1s66q08zrbkfqf6g8f0d";
stripRoot = false;
};
nativeBuildInputs = [
cmake
];
buildInputs = [
zlib
];
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; [ lassulus siraben ];
platforms = platforms.unix;
};
}