]>
Commit | Line | Data |
---|---|---|
1 | { callPackage, mylibs, composerEnv, lib }: | |
2 | rec { | |
3 | adminer = callPackage ./adminer {}; | |
4 | apache-theme = callPackage ./apache-theme {}; | |
5 | awl = callPackage ./awl {}; | |
6 | davical = callPackage ./davical {}; | |
7 | diaspora = callPackage ./diaspora { inherit mylibs; }; | |
8 | ||
9 | dokuwiki = callPackage ./dokuwiki { inherit mylibs; }; | |
10 | dokuwiki-with-plugins = dokuwiki.withPlugins (builtins.attrValues dokuwiki-plugins); | |
11 | dokuwiki-plugins = let | |
12 | names = [ "farmer" "todo" ]; | |
13 | in | |
14 | lib.attrsets.genAttrs names | |
15 | (name: callPackage (./dokuwiki/plugins + "/${name}.nix") {}); | |
16 | ||
17 | etherpad-lite = callPackage ./etherpad-lite {}; | |
18 | ||
19 | grocy = callPackage ./grocy { inherit mylibs composerEnv; }; | |
20 | ||
21 | infcloud = callPackage ./infcloud {}; | |
22 | ||
23 | mantisbt_2 = callPackage ./mantisbt_2 {}; | |
24 | mantisbt_2-with-plugins = mantisbt_2.withPlugins (builtins.attrValues mantisbt_2-plugins); | |
25 | mantisbt_2-plugins = let | |
26 | names = [ "slack" "source-integration" ]; | |
27 | in | |
28 | lib.attrsets.genAttrs names | |
29 | (name: callPackage (./mantisbt_2/plugins + "/${name}") {}); | |
30 | ||
31 | mastodon = callPackage ./mastodon { inherit mylibs; }; | |
32 | ||
33 | mediagoblin = callPackage ./mediagoblin { inherit mylibs; }; | |
34 | mediagoblin-with-plugins = mediagoblin.withPlugins (builtins.attrValues mediagoblin-plugins); | |
35 | mediagoblin-plugins = let | |
36 | names = [ "basicsearch" ]; | |
37 | in | |
38 | lib.attrsets.genAttrs names | |
39 | (name: callPackage (./mediagoblin/plugins + "/${name}") {}); | |
40 | ||
41 | nextcloud = callPackage ./nextcloud {}; | |
42 | nextcloud-with-apps = nextcloud.withPlugins (builtins.attrValues nextcloud-apps); | |
43 | nextcloud-apps = let | |
44 | names = [ | |
45 | "audioplayer" "bookmarks" "calendar" "contacts" "deck" | |
46 | "files_markdown" "gpxedit" "gpxpod" "keeweb" "music" | |
47 | "notes" "ocsms" "passman" "spreed" "tasks" | |
48 | "flowupload" "carnet" "maps" "cookbook" "polls" | |
49 | "apporder" "extract" "files_readmemd" "metadata" | |
50 | ]; | |
51 | in | |
52 | lib.attrsets.genAttrs names | |
53 | (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; }); | |
54 | ||
55 | peertube = callPackage ./peertube { inherit mylibs; }; | |
56 | phpbb = callPackage ./phpbb {}; | |
57 | ||
58 | phpldapadmin = callPackage ./phpldapadmin {}; | |
59 | rompr = callPackage ./rompr { inherit mylibs; }; | |
60 | ||
61 | roundcubemail = callPackage ./roundcubemail {}; | |
62 | roundcubemail-with-plugins-skins = roundcubemail.withPlugins (builtins.attrValues roundcubemail-plugins) (builtins.attrValues roundcubemail-skins); | |
63 | roundcubemail-skins = let | |
64 | names = []; | |
65 | in | |
66 | lib.attrsets.genAttrs names | |
67 | (name: callPackage (./roundcubemail/skins + "/${name}") {}); | |
68 | roundcubemail-plugins = let | |
69 | names = [ | |
70 | "automatic_addressbook" "carddav" "contextmenu" | |
71 | "contextmenu_folder" "html5_notifier" "ident_switch" | |
72 | "message_highlight" "thunderbird_labels" | |
73 | ]; | |
74 | in | |
75 | lib.attrsets.genAttrs names | |
76 | (name: callPackage (./roundcubemail/plugins + "/${name}") { buildPlugin = roundcubemail.buildPlugin; }); | |
77 | ||
78 | spip = callPackage ./spip {}; | |
79 | taskwarrior-web = callPackage ./taskwarrior-web { inherit mylibs; }; | |
80 | ||
81 | ttrss = callPackage ./ttrss { inherit mylibs; }; | |
82 | ttrss-with-plugins = ttrss.withPlugins (builtins.attrValues ttrss-plugins); | |
83 | ttrss-plugins = let | |
84 | names = [ "auth_ldap" "af_feedmod" "feediron" "ff_instagram" "tumblr_gdpr_ua" ]; | |
85 | patched = [ "af_feedmod" "feediron" ]; | |
86 | in | |
87 | lib.attrsets.genAttrs names | |
88 | (name: callPackage (./ttrss/plugins + "/${name}") ( | |
89 | { inherit mylibs; } // | |
90 | (if builtins.elem name patched then { patched = true; } else {}) | |
91 | ) | |
92 | ); | |
93 | ||
94 | wallabag = callPackage ./wallabag { inherit composerEnv; }; | |
95 | yourls = callPackage ./yourls { inherit mylibs; }; | |
96 | yourls-with-plugins = yourls.withPlugins (builtins.attrValues yourls-plugins); | |
97 | yourls-plugins = let | |
98 | names = [ "ldap" ]; | |
99 | in | |
100 | lib.attrsets.genAttrs names | |
101 | (name: callPackage (./yourls/plugins + "/${name}") { inherit mylibs; }); | |
102 | } |