package sourcemod-plugin-steamworks

This commit is contained in:
Robin Appelman 2026-07-09 19:16:19 +02:00
commit 63a39678c2
4 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,3 @@
final: prev: {
sourcemod-plugin-steamworks = final.callPackage ./steamworks.nix {};
}

View file

@ -0,0 +1,21 @@
{
fetchurl,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sourcemod-plugin-steamworks";
version = "1.2.3c";
src = fetchurl {
url = "https://github.com/KyleSanderson/SteamWorks/releases/download/${finalAttrs.version}/package-lin.tgz";
sha256 = "sha256-Znnm39GdTHinHSJP8/fXLZvsvCVggu1LzoXLqh4BJxM=";
};
installPhase = ''
runHook preInstall
mkdir $out
mv addons $out/
runHook postInstall
'';
})