From d723744bcf587d0abe312a2cb59f5de361ef96f0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 10 Jul 2026 22:50:57 +0200 Subject: [PATCH] package sourcemod-plugin-extend-humiliation --- flake.nix | 3 +- nix/sourcemod/plugins/extend-humiliation.nix | 31 ++++++++++++++++++++ nix/sourcemod/plugins/overlay.nix | 1 + 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 nix/sourcemod/plugins/extend-humiliation.nix diff --git a/flake.nix b/flake.nix index 21c9d00..b317020 100644 --- a/flake.nix +++ b/flake.nix @@ -83,6 +83,7 @@ "sourcemod-plugin-restorescore" "sourcemod-plugin-supstats2" "sourcemod-plugin-waitforstv" + "sourcemod-plugin-extend-humiliation" ] // { test = pkgs: @@ -122,7 +123,7 @@ }; devShells.default = {pkgs, ...}: { - packages = with pkgs; [nix-update depotdownloader]; + packages = with pkgs; [nix-update]; }; }; } diff --git a/nix/sourcemod/plugins/extend-humiliation.nix b/nix/sourcemod/plugins/extend-humiliation.nix new file mode 100644 index 0000000..a3a3065 --- /dev/null +++ b/nix/sourcemod/plugins/extend-humiliation.nix @@ -0,0 +1,31 @@ +{ + fetchFromGitea, + mkSourcemodPlugin, + nix-update-script, +}: +mkSourcemodPlugin (finalAttrs: { + pname = "sourcemod-plugin-extend-humiliation"; + version = "0-unstable-2026-07-10"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "spire"; + repo = "docker-comp-server"; + rev = "1c0884386cf97d61e0699cffb072fbabdfc59cbf"; + hash = "sha256-IKtDtcQhvoexuMSJcgkmNMVrfcBapM6NTar96CMzyvc="; + }; + + preInstall = '' + rm pause.smx + ''; + + plugins = ["ExtendHumiliation.sp"]; + + passthru = { + updateScript = nix-update-script { + extraArgs = [ + "--flake" + "--version=branch" + ]; + }; + }; +}) diff --git a/nix/sourcemod/plugins/overlay.nix b/nix/sourcemod/plugins/overlay.nix index 9bbf410..d195dc3 100644 --- a/nix/sourcemod/plugins/overlay.nix +++ b/nix/sourcemod/plugins/overlay.nix @@ -19,6 +19,7 @@ in sourcemod-plugin-who = final.callPackage ./who.nix {}; sourcemod-plugin-demostf = final.callPackage ./demostf.nix {}; sourcemod-plugin-properpregame = final.callPackage ./properpregame.nix {}; + sourcemod-plugin-extend-humiliation = final.callPackage ./extend-humiliation.nix {}; } // listToAttrs (map (info: { name = "sourcemod-plugin-${info.name}";