tlaternet-server/pkgs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
582 B
Nix
Raw Normal View History

2024-08-18 19:41:20 +01:00
{ pkgs, lib }:
2022-10-17 11:00:02 +01:00
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
}
2024-08-18 19:41:20 +01:00
// (
2022-10-17 11:00:02 +01:00
# Add nextcloud apps
let
mkNextcloudApp = pkgs.callPackage ./mkNextcloudApp.nix { };
sources = fromJSON (readFile ./_sources_nextcloud/generated.json);
2022-10-17 11:00:02 +01:00
in
mapAttrs (_: source: mkNextcloudApp source) sources
)