diff options
Diffstat (limited to 'srcds-pkgs/plugins/morecolors.nix')
-rw-r--r-- | srcds-pkgs/plugins/morecolors.nix | 20 |
1 files changed, 20 insertions, 0 deletions
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/ + ''; +} |