aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/plugins/nativevotes-updated.nix
diff options
context:
space:
mode:
authoryuuko <yuuko@partyvan.io>2024-08-29 21:51:04 -0700
committeryuuko <yuuko@partyvan.io>2024-08-29 21:51:04 -0700
commit56449e59d7aabd1c06fb67a51a1e129b55cb9270 (patch)
tree19f3faf805e9b6461a5940d1a050d13e5271ef55 /srcds-pkgs/plugins/nativevotes-updated.nix
break out of system config
Diffstat (limited to 'srcds-pkgs/plugins/nativevotes-updated.nix')
-rw-r--r--srcds-pkgs/plugins/nativevotes-updated.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/srcds-pkgs/plugins/nativevotes-updated.nix b/srcds-pkgs/plugins/nativevotes-updated.nix
new file mode 100644
index 0000000..4044294
--- /dev/null
+++ b/srcds-pkgs/plugins/nativevotes-updated.nix
@@ -0,0 +1,16 @@
+{ buildSMPlugin, fetchFromGitHub }:
+buildSMPlugin rec {
+ pname = "nativevotes-updated";
+ version = "2023-10-17";
+
+ src = fetchFromGitHub {
+ owner = "sapphonie";
+ repo = "sourcemod-${pname}";
+ rev = "47d00d636fd7bee3419fb310e4c3d8674278248d";
+ sha256 = "0yvlsclhdjsy0amrff3a6y2k2bfalcyrjp57s5jnxv30gqc3d1rg";
+ };
+
+ preConfigure = ''
+ cd addons/sourcemod
+ '';
+}