From 56449e59d7aabd1c06fb67a51a1e129b55cb9270 Mon Sep 17 00:00:00 2001 From: yuuko Date: Thu, 29 Aug 2024 21:51:04 -0700 Subject: break out of system config --- srcds-pkgs/plugins/SteamWorks.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcds-pkgs/plugins/SteamWorks.nix (limited to 'srcds-pkgs/plugins/SteamWorks.nix') diff --git a/srcds-pkgs/plugins/SteamWorks.nix b/srcds-pkgs/plugins/SteamWorks.nix new file mode 100644 index 0000000..169f6d0 --- /dev/null +++ b/srcds-pkgs/plugins/SteamWorks.nix @@ -0,0 +1,19 @@ +{ buildSMPlugin, fetchFromGitHub, runCommand }: +let + src' = fetchFromGitHub { + owner = "KyleSanderson"; + repo = "SteamWorks"; + rev = "f0c1b62dff615511b27824aaa2815c7dc58d2716"; + hash = "sha256-ugjaM04Jm1MKGmdtTAYVRD+ONOevc0PHAWqxBFSeu4o="; + }; +in +buildSMPlugin rec { + pname = "SteamWorks"; + version = "2023-04-02"; + + src = runCommand "source" {} '' + odir=$out/scripting/ + mkdir -p $odir + cp -r ${src'}/Pawn/includes $odir/include + ''; +} -- cgit v1.2.3