From 56449e59d7aabd1c06fb67a51a1e129b55cb9270 Mon Sep 17 00:00:00 2001 From: yuuko Date: Thu, 29 Aug 2024 21:51:04 -0700 Subject: break out of system config --- srcds-pkgs/plugins/morecolors.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcds-pkgs/plugins/morecolors.nix (limited to 'srcds-pkgs/plugins/morecolors.nix') diff --git a/srcds-pkgs/plugins/morecolors.nix b/srcds-pkgs/plugins/morecolors.nix new file mode 100644 index 0000000..325b353 --- /dev/null +++ b/srcds-pkgs/plugins/morecolors.nix @@ -0,0 +1,20 @@ +{ lib, fetchFromGitHub, stdenvNoCC }: +stdenvNoCC.mkDerivation rec { + pname = "morecolors"; + version = "2022-07-07"; + + src = fetchFromGitHub { + owner = "DoctorMcKay"; + repo = "sourcemod-plugins"; + rev = "6c7ffca2b580b3b313ee2027ac4dd12b7fad226a"; + hash = "sha256-zmwyIMSwr2BV3feuiAZhUj2SAh5C+vp/HnGufYMpu60="; + }; + + phases = [ "unpackPhase" "installPhase" ]; + + installPhase = '' + odir=$out/share/addons/sourcemod/scripting/include + mkdir -p $odir + cp scripting/include/morecolors.inc $odir/ + ''; +} -- cgit v1.2.3