aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/webapps/default.nix57
1 files changed, 27 insertions, 30 deletions
diff --git a/pkgs/webapps/default.nix b/pkgs/webapps/default.nix
index 84e46bd..1dde9ca 100644
--- a/pkgs/webapps/default.nix
+++ b/pkgs/webapps/default.nix
@@ -1,31 +1,19 @@
1{ callPackage, mylibs, lib }: 1{ callPackage, mylibs, lib }:
2rec { 2rec {
3 diaspora = callPackage ./diaspora { inherit mylibs; }; 3 adminer = callPackage ./adminer {};
4
5 mastodon = callPackage ./mastodon { inherit mylibs; };
6
7 awl = callPackage ./awl {}; 4 awl = callPackage ./awl {};
8 davical = callPackage ./davical {}; 5 davical = callPackage ./davical {};
6 diaspora = callPackage ./diaspora { inherit mylibs; };
9 7
10 infcloud = callPackage ./infcloud {}; 8 dokuwiki = callPackage ./dokuwiki { inherit mylibs; };
11 9 dokuwiki-with-plugins = dokuwiki.withPlugins (builtins.attrValues dokuwiki-plugins);
12 nextcloud = callPackage ./nextcloud {}; 10 dokuwiki-plugins = let
13 nextcloud-with-apps = nextcloud.withPlugins (builtins.attrValues nextcloud-apps); 11 names = [ "farmer" "todo" ];
14 nextcloud-apps = let 12 in
15 names = [
16 "audioplayer" "bookmarks" "calendar" "contacts" "deck"
17 "files_markdown" "gpxedit" "gpxpod" "keeweb" "music"
18 "notes" "ocsms" "passman" "spreed" "tasks"
19 "flowupload" "carnet"
20 # FIXME: fix passman for NC 16
21 ];
22 in
23 lib.attrsets.genAttrs names 13 lib.attrsets.genAttrs names
24 (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; }); 14 (name: callPackage (./dokuwiki/plugins + "/${name}.nix") {});
25
26 phpldapadmin = callPackage ./phpldapadmin {};
27 15
28 rompr = callPackage ./rompr { inherit mylibs; }; 16 infcloud = callPackage ./infcloud {};
29 17
30 mantisbt_2 = callPackage ./mantisbt_2 {}; 18 mantisbt_2 = callPackage ./mantisbt_2 {};
31 mantisbt_2-with-plugins = mantisbt_2.withPlugins (builtins.attrValues mantisbt_2-plugins); 19 mantisbt_2-with-plugins = mantisbt_2.withPlugins (builtins.attrValues mantisbt_2-plugins);
@@ -35,15 +23,7 @@ rec {
35 lib.attrsets.genAttrs names 23 lib.attrsets.genAttrs names
36 (name: callPackage (./mantisbt_2/plugins + "/${name}") {}); 24 (name: callPackage (./mantisbt_2/plugins + "/${name}") {});
37 25
38 dokuwiki = callPackage ./dokuwiki { inherit mylibs; }; 26 mastodon = callPackage ./mastodon { inherit mylibs; };
39 dokuwiki-with-plugins = dokuwiki.withPlugins (builtins.attrValues dokuwiki-plugins);
40 dokuwiki-plugins = let
41 names = [ "farmer" "todo" ];
42 in
43 lib.attrsets.genAttrs names
44 (name: callPackage (./dokuwiki/plugins + "/${name}.nix") {});
45
46 adminer = callPackage ./adminer {};
47 27
48 mediagoblin = callPackage ./mediagoblin { inherit mylibs; }; 28 mediagoblin = callPackage ./mediagoblin { inherit mylibs; };
49 mediagoblin-with-plugins = mediagoblin.withPlugins (builtins.attrValues mediagoblin-plugins); 29 mediagoblin-with-plugins = mediagoblin.withPlugins (builtins.attrValues mediagoblin-plugins);
@@ -52,4 +32,21 @@ rec {
52 in 32 in
53 lib.attrsets.genAttrs names 33 lib.attrsets.genAttrs names
54 (name: callPackage (./mediagoblin/plugins + "/${name}") {}); 34 (name: callPackage (./mediagoblin/plugins + "/${name}") {});
35
36 nextcloud = callPackage ./nextcloud {};
37 nextcloud-with-apps = nextcloud.withPlugins (builtins.attrValues nextcloud-apps);
38 nextcloud-apps = let
39 names = [
40 "audioplayer" "bookmarks" "calendar" "contacts" "deck"
41 "files_markdown" "gpxedit" "gpxpod" "keeweb" "music"
42 "notes" "ocsms" "passman" "spreed" "tasks"
43 "flowupload" "carnet"
44 # FIXME: fix passman for NC 16
45 ];
46 in
47 lib.attrsets.genAttrs names
48 (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; });
49
50 phpldapadmin = callPackage ./phpldapadmin {};
51 rompr = callPackage ./rompr { inherit mylibs; };
55} 52}