diff options
author | yuuko <yuuko@partyvan.io> | 2024-08-29 21:51:04 -0700 |
---|---|---|
committer | yuuko <yuuko@partyvan.io> | 2024-08-29 21:51:04 -0700 |
commit | 56449e59d7aabd1c06fb67a51a1e129b55cb9270 (patch) | |
tree | 19f3faf805e9b6461a5940d1a050d13e5271ef55 /srcds-pkgs/plugins/morecolors.nix |
break out of system config
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/ + ''; +} |