tlaternet-server/pkgs/default.nix

24 lines
587 B
Nix
Raw Normal View History

{ pkgs
, lib
,
}:
let
inherit (builtins) fromJSON mapAttrs readFile;
2022-10-13 00:30:07 +01:00
inherit (pkgs) callPackage;
2022-10-17 11:00:02 +01:00
in
{
starbound = callPackage ./starbound { };
prometheus-fail2ban-exporter = callPackage ./prometheus/fail2ban-exporter.nix {
sources = pkgs.callPackage ./_sources_pkgs/generated.nix { };
};
afvalcalendar = callPackage ./afvalcalendar { };
}
2022-10-17 11:00:02 +01:00
// (
# Add nextcloud apps
let
mkNextcloudApp = pkgs.callPackage ./mkNextcloudApp.nix { };
sources = fromJSON (readFile ./_sources_nextcloud/generated.json);
in
mapAttrs (_: source: mkNextcloudApp source) sources
)