From 8825ebe131e3d9c39440138f69312191703b4d84 Mon Sep 17 00:00:00 2001 From: yuuko Date: Sat, 3 Jan 2026 15:11:48 -0800 Subject: alliedmods is behind cloudflare now. thank you openai. kill yourself altman --- srcds-pkgs/plugins/Updater.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'srcds-pkgs/plugins/Updater.nix') diff --git a/srcds-pkgs/plugins/Updater.nix b/srcds-pkgs/plugins/Updater.nix index 3c252fd..040e130 100644 --- a/srcds-pkgs/plugins/Updater.nix +++ b/srcds-pkgs/plugins/Updater.nix @@ -1,18 +1,18 @@ -{ fetchzip, buildSMPlugin, ed +{ requireFile, unzip, buildSMPlugin, ed , SM-neocurl-ext, SteamTools, SteamWorks, socket }: buildSMPlugin rec { pname = "Updater"; version = "1.2.1"; - src = fetchzip { + src = requireFile { url = "https://forums.alliedmods.net/attachment.php?attachmentid=183438"; - extension = "zip"; - stripRoot = false; - hash = "sha256-M+kUvHzwiJXOGIdbUql5nbFdCPdzYdRM1BCq6Y8Fuls="; + name = "updater.zip"; + hash = "sha256-eELedPMz7Em9LmTrNyJOt/v4Azdqap8h/bDhn0Bf19U="; }; - nativeBuildInputs = [ ed ]; + nativeBuildInputs = [ unzip ed ]; + unpackCmd = "mkdir src; pushd src; unzip ${src}; popd"; buildInputs = [ SM-neocurl-ext SteamTools SteamWorks socket ]; postPatch = '' -- cgit v1.2.3