aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'srcds-pkgs/default.nix')
-rw-r--r--srcds-pkgs/default.nix55
1 files changed, 55 insertions, 0 deletions
diff --git a/srcds-pkgs/default.nix b/srcds-pkgs/default.nix
new file mode 100644
index 0000000..1b8294c
--- /dev/null
+++ b/srcds-pkgs/default.nix
@@ -0,0 +1,55 @@
+let f = self: with self; {
+ inherit (self) callPackage;
+
+ libfinite = callPackage ./bad/libfinite.nix {};
+ mysql_5_5 = pkgs.pkgsi686Linux.callPackage ./bad/mysql_5_5.nix {};
+
+ ambuild = callPackage ./ambuild.nix {
+ inherit (pkgs.python3Packages) buildPythonPackage;
+ };
+
+ hl2sdk-2013 = callPackage ./hl2sdk-2013.nix {};
+
+ metamod-source = callPackage ./metamod-source.nix {
+ hl2sdk = hl2sdk-2013;
+ };
+ sourcemod = callPackage ./sourcemod {
+ hl2sdk = hl2sdk-2013;
+ };
+
+ buildSMPlugin = callPackage ./build-sm-plugin.nix {};
+ # TODO: see if it even makes sense to abstract this hard
+ # buildSMExtension = callPackage ./build-sm-extension.nix {};
+
+ depotdownloader-json = callPackage ./depotdownloader-json {};
+
+ fetchDepotCache = callPackage ./fetchdepotcache.nix {
+ depotdownloader = depotdownloader-json;
+ };
+ fetchDepotFile = callPackage ./fetchdepotfile.nix {
+ depotdownloader = depotdownloader-json;
+ };
+ mkDepot = callPackage ./mkdepot.nix {};
+
+ SM-Memory = callPackage ./extensions/SM-Memory.nix {};
+ SM-neocurl-ext = callPackage ./extensions/SM-neocurl-ext.nix {};
+
+ Chat-Logger-Redux = callPackage ./plugins/Chat-Logger-Redux.nix {};
+ Open-Fortress-Tools = callPackage ./plugins/Open-Fortress-Tools.nix {};
+ SteamTools = callPackage ./plugins/SteamTools.nix {};
+ SteamWorks = callPackage ./plugins/SteamWorks.nix {};
+ Updater = callPackage ./plugins/Updater.nix {};
+ ftz_cheats = callPackage ./plugins/ftz_cheats.nix {};
+ morecolors = callPackage ./plugins/morecolors.nix {};
+ nativevotes-updated = callPackage ./plugins/nativevotes-updated.nix {};
+ openfrags = callPackage ./plugins/openfrags.nix {};
+ smlib = callPackage ./plugins/smlib.nix {};
+ socket = callPackage ./plugins/socket.nix {};
+ yuuko_votes = callPackage ./plugins/yuuko_votes.nix {};
+}; in
+{ lib
+, newScope
+, recurseIntoAttrs
+, pkgs
+}:
+recurseIntoAttrs (lib.makeScope newScope (self: f self // { inherit pkgs; }))