nextcloud: Fetch apps using nvfetcher

This commit is contained in:
Tristan Daniël Maat 2022-10-17 11:00:02 +01:00
parent c4fa991b62
commit 61d3008bc3
Signed by: tlater
GPG key ID: 49670FD774E43268
9 changed files with 318 additions and 66 deletions

View file

@ -1,5 +1,18 @@
{pkgs, ...}: let
{
pkgs,
lib,
}: let
inherit (builtins) listToAttrs mapAttrs;
inherit (pkgs) callPackage;
in {
starbound = callPackage ./starbound {};
}
in
{
starbound = callPackage ./starbound {};
}
// (
# Add nextcloud apps
let
mkNextcloudApp = pkgs.callPackage ./mkNextcloudApp.nix {};
sources = pkgs.callPackage ./_sources_nextcloud/generated.nix {};
in
mapAttrs (_: source: mkNextcloudApp source) sources
)