My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/games/zdoom/zdbsp.nix

32 lines
701 B

{ lib, 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 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;
};
}