forked from mirrors/nixpkgs
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
28 lines
724 B
Nix
28 lines
724 B
Nix
{ stdenv, fetchurl, cmake, unzip, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zdbsp-${version}";
|
|
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";
|
|
homepage = https://zdoom.org/wiki/ZDBSP;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ertes];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|