1 { lib, stdenv, fetchFromGitHub
3 , cmake, ninja, installShellFiles
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "11sap7qv0rlhw8q25azvhgjcwiql3zam09q0gim3i04cg6fkh0vp";
19 ln -s ${gtest.src} googletest
23 nativeBuildInputs = [ cmake ninja installShellFiles ];
25 outputs = [ "out" "doc" "man" ];
30 for TOOL in bspinfo bsputil light qbsp vis ; do
31 cp -a $TOOL/$TOOL $out/bin/
34 installManPage ../man/*.?
36 mkdir -p $doc/share/doc/ericw-tools
37 cp -a ../README.md ../changelog.txt $doc/share/doc/ericw-tools/
43 homepage = "https://ericwa.github.io/ericw-tools/";
44 description = "Map compile tools for Quake and Hexen 2";
45 license = licenses.gpl3Plus;
46 maintainers = with maintainers; [ astro ];