ericw-tools: init at 0.18.1

Astro ad18876f 24ce53d7

+50
+48
pkgs/applications/misc/ericw-tools/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub 2 + , gtest, fmt 3 + , cmake, ninja, installShellFiles 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "ericw-tools"; 8 + version = "0.18.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "ericwa"; 12 + repo = "ericw-tools"; 13 + rev = "v${version}"; 14 + sha256 = "11sap7qv0rlhw8q25azvhgjcwiql3zam09q0gim3i04cg6fkh0vp"; 15 + }; 16 + postUnpack = '' 17 + pushd source/3rdparty 18 + ln -s ${fmt.src} fmt 19 + ln -s ${gtest.src} googletest 20 + popd 21 + ''; 22 + 23 + nativeBuildInputs = [ cmake ninja installShellFiles ]; 24 + 25 + outputs = [ "out" "doc" "man" ]; 26 + installPhase = '' 27 + runHook preInstall 28 + 29 + mkdir -p $out/bin 30 + for TOOL in bspinfo bsputil light qbsp vis ; do 31 + cp -a $TOOL/$TOOL $out/bin/ 32 + done 33 + 34 + installManPage ../man/*.? 35 + 36 + mkdir -p $doc/share/doc/ericw-tools 37 + cp -a ../README.md ../changelog.txt $doc/share/doc/ericw-tools/ 38 + 39 + runHook postInstall 40 + ''; 41 + 42 + meta = with lib; { 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 ]; 47 + }; 48 + }
+2
pkgs/top-level/all-packages.nix
··· 4714 4714 4715 4715 endlessh = callPackage ../servers/endlessh { }; 4716 4716 4717 + ericw-tools = callPackage ../applications/misc/ericw-tools { }; 4718 + 4717 4719 cryfs = callPackage ../tools/filesystems/cryfs { }; 4718 4720 4719 4721 encfs = callPackage ../tools/filesystems/encfs {