aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/default.nix
blob: dc402a9304e87dc2712026bb578e132860265b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
let f = self: let
  inherit (self) callPackage;
in {
  libfinite = callPackage ./bad/libfinite.nix {};
  mysql_5_5 = self.pkgs.pkgsi686Linux.callPackage ./bad/mysql_5_5.nix {};

  ambuild = callPackage ./ambuild.nix {
    inherit (self.pkgs.python3Packages) buildPythonPackage;
  };
  
  hl2sdk-2013 = callPackage ./hl2sdk-2013.nix {};

  metamod-source = callPackage ./metamod-source.nix {
    hl2sdk = self.hl2sdk-2013;
  };
  sourcemod = callPackage ./sourcemod {
    hl2sdk = self.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 {};

  sourcemodWithPlugins = callPackage ./sourcemod/with-plugins.nix {};

  depotdownloader-json = callPackage ./depotdownloader-json {};

  fetchDepotCache = callPackage ./fetchdepotcache.nix {
    depotdownloader = self.depotdownloader-json;
  };
  fetchDepotFile = callPackage ./fetchdepotfile.nix {
    depotdownloader = self.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
}:
lib.makeScope newScope (self: f (self // { inherit pkgs; }))