nixpkgs/pkgs/games/zdoom/zdbsp.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
704 B
Nix
Raw Normal View History

2022-06-10 02:11:33 +00:00
{ lib
, stdenv
, fetchzip
, cmake
, zlib
}:
2017-02-09 21:37:09 +00:00
stdenv.mkDerivation rec {
pname = "zdbsp";
2017-02-09 21:37:09 +00:00
version = "1.19";
2021-01-03 09:49:22 +00:00
src = fetchzip {
2017-02-09 21:37:09 +00:00
url = "https://zdoom.org/files/utils/zdbsp/zdbsp-${version}-src.zip";
2022-06-10 02:11:33 +00:00
sha256 = "sha256-DTj0jMNurvwRwMbo0L4+IeNlbfIwUbqcG1LKd68C08g=";
2021-01-03 09:49:22 +00:00
stripRoot = false;
2017-02-09 21:37:09 +00:00
};
2021-01-04 19:51:32 +00:00
nativeBuildInputs = [
cmake
];
buildInputs = [
zlib
];
2017-02-09 21:37:09 +00:00
installPhase = ''
install -Dm755 zdbsp $out/bin/zdbsp
'';
meta = with lib; {
homepage = "https://zdoom.org/wiki/ZDBSP";
2022-06-10 02:11:33 +00:00
description = "ZDoom's internal node builder for DOOM maps";
2017-02-09 21:37:09 +00:00
license = licenses.gpl2Plus;
2021-01-04 09:47:09 +00:00
maintainers = with maintainers; [ lassulus siraben ];
2021-01-03 09:49:22 +00:00
platforms = platforms.unix;
2017-02-09 21:37:09 +00:00
};
}