depot/third_party/nixpkgs/pkgs/games/zdoom/zdbsp.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

37 lines
704 B
Nix

{ 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 = "sha256-DTj0jMNurvwRwMbo0L4+IeNlbfIwUbqcG1LKd68C08g=";
stripRoot = false;
};
nativeBuildInputs = [
cmake
];
buildInputs = [
zlib
];
installPhase = ''
install -Dm755 zdbsp $out/bin/zdbsp
'';
meta = with lib; {
homepage = "https://zdoom.org/wiki/ZDBSP";
description = "ZDoom's internal node builder for DOOM maps";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lassulus siraben ];
platforms = platforms.unix;
};
}