aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/plugins/Chat-Logger-Redux.nix
blob: 7acbc79167ab2659a4602125c91eb1778c6a5c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, buildSMPlugin, fetchFromGitHub }:
buildSMPlugin rec {
  pname = "Chat-Logger-Redux";
  version = "2021-09-06";

  src = fetchFromGitHub {
    owner = "Drixevel-Archive";
    repo = pname;
    rev = "5a297b1f3680d2c862ba914476902105c89a9213";
    hash = "sha256-9jVRIRKX3axPYGV0vAWpikQuEQgzIdhcAMMIO2dPWU8=";
  };

  preBuild = ''
  	# the entire set of sourcemod headers are vendored in here for some reason
  	rm /build/scripting/include/*.inc
  	# i don't even know what to say about this one
  	rm /build/scripting/{compile.{dat,bat},spcomp.exe}
  '';
}