aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/cloud
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-12 19:39:04 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-12 19:39:04 +0100
commit20ed2f853c57af063d27651bfd28c28ac8849414 (patch)
tree35c9ac563f9e162b29b84f06a691c7c857cca247 /nixops/modules/websites/tools/cloud
parentb9f79e955f164c4cb6ebe3fc2b3183d07bb637ff (diff)
downloadNix-20ed2f853c57af063d27651bfd28c28ac8849414.tar.gz
Nix-20ed2f853c57af063d27651bfd28c28ac8849414.tar.zst
Nix-20ed2f853c57af063d27651bfd28c28ac8849414.zip
Upgrade nextcloud and apps
Diffstat (limited to 'nixops/modules/websites/tools/cloud')
-rw-r--r--nixops/modules/websites/tools/cloud/nextcloud.nix47
1 files changed, 32 insertions, 15 deletions
diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix
index 0185b0f..ad44057 100644
--- a/nixops/modules/websites/tools/cloud/nextcloud.nix
+++ b/nixops/modules/websites/tools/cloud/nextcloud.nix
@@ -12,15 +12,15 @@ let
12 apps = { 12 apps = {
13 audioplayer = buildApp rec { 13 audioplayer = buildApp rec {
14 appName = "audioplayer"; 14 appName = "audioplayer";
15 version = "2.5.0"; 15 version = "2.6.0";
16 url = "https://github.com/Rello/${appName}/releases/download/${version}/${appName}-${version}.tar.gz"; 16 url = "https://github.com/Rello/${appName}/releases/download/${version}/${appName}-${version}.tar.gz";
17 sha256 = "1pg4y51cv3agy28n4gfc8i7x1ya1yijxrmhpblm1n846vhmwdcm8"; 17 sha256 = "08apm7dhnljagcvq8b1dsqcck4nqwmz60bf3mx44xvbhiaq6nim4";
18 }; 18 };
19 bookmarks = buildApp rec { 19 bookmarks = buildApp rec {
20 appName = "bookmarks"; 20 appName = "bookmarks";
21 version = "0.14.3"; 21 version = "0.16.2";
22 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz"; 22 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz";
23 sha256 = "0s7lkcl70izlkihnml1par0cac0wvckllyyga3jkb7k9vdg7d40c"; 23 sha256 = "0ghk71iyk5xlqsfahg0d0lpp9lparpdnv2qx11a7j64pc9gzcfl4";
24 }; 24 };
25 calendar = buildApp rec { 25 calendar = buildApp rec {
26 appName = "calendar"; 26 appName = "calendar";
@@ -30,9 +30,9 @@ let
30 }; 30 };
31 contacts = buildApp rec { 31 contacts = buildApp rec {
32 appName = "contacts"; 32 appName = "contacts";
33 version = "3.0.0"; 33 version = "3.0.3";
34 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}.tar.gz"; 34 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}.tar.gz";
35 sha256 = "0fafy5kgzr5ldr3hxxxgmnw4y3qpjnv5ha1f1dlmqbc65s8frw7s"; 35 sha256 = "026hfigfzqb1cvq6a7mg9656nkm21c19a6ipqzgv00ycf38qyk95";
36 }; 36 };
37 deck = buildApp rec { 37 deck = buildApp rec {
38 appName = "deck"; 38 appName = "deck";
@@ -54,15 +54,26 @@ let
54 }; 54 };
55 gpxpod = buildApp rec { 55 gpxpod = buildApp rec {
56 appName = "gpxpod"; 56 appName = "gpxpod";
57 version = "3.0.0"; 57 version = "3.0.1";
58 url = "https://gitlab.com/eneiluj/gpxpod-oc/-/archive/v${version}/${appName}-oc-v${version}.tar.gz"; 58 url = "https://gitlab.com/eneiluj/gpxpod-oc/wikis/uploads/3f5fbc895de15f11f90582c4872839dc/${appName}-${version}.tar.gz";
59 sha256 = "0smpi4r3z7zfl1612fb30cwm1xmpiq95c81zzqiwzjf288iys74k"; 59 sha256 = "1g3602phrdpybamr4bnk5niv1znmwp19lqyw6d8yxmc84lg99dny";
60 }; 60 };
61 keeweb = buildApp rec { 61 keeweb = buildApp rec {
62 appName = "keeweb"; 62 appName = "keeweb";
63 version = "0.4.0"; 63 version = "0.4.0";
64 url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz"; 64 url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz";
65 sha256 = "0453kkb0a8vfivmibpwpx4bvhyn64jhns6cdfjacmnvbm6d75nj1"; 65 sha256 = "0453kkb0a8vfivmibpwpx4bvhyn64jhns6cdfjacmnvbm6d75nj1";
66 installPhase = ''
67 mkdir -p $out
68 cp -R . $out/
69 sed -i -e 's/max-version="12"/max-version="16"/' $out/appinfo/info.xml
70 '';
71 };
72 music = buildApp rec {
73 appName = "music";
74 version = "0.9.3";
75 url = "https://github.com/owncloud/${appName}/archive/v${version}.tar.gz";
76 sha256 = "1x4c2v8hnm9yi3fzjglfwd2brzn99v8zavgfczc5jfj30v3n555z";
66 }; 77 };
67 notes = buildApp rec { 78 notes = buildApp rec {
68 appName = "notes"; 79 appName = "notes";
@@ -72,20 +83,26 @@ let
72 }; 83 };
73 ocsms = buildApp rec { 84 ocsms = buildApp rec {
74 appName = "ocsms"; 85 appName = "ocsms";
75 version = "2.1.0"; 86 version = "2.1.1";
76 url = "https://github.com/nextcloud/${appName}/releases/download/${version}/${appName}-${version}.tar.gz"; 87 url = "https://github.com/nextcloud/${appName}/releases/download/${version}/${appName}-${version}.tar.gz";
77 sha256 = "19xgs82js4sdf6j9478vg9li7za7csvcaa1hbq9nmrq441sbxk9c"; 88 sha256 = "0sgfbmy1c8rgzjvf9snc7rzgp8aqsc65zfwgi6qcsf2g6gam5n7a";
78 installPhase = '' 89 installPhase = ''
79 sed -i -e "/addScript.*devel/d" -e "s@//\(.*addScript.*app.min\)@\1@" templates/main.php 90 sed -i -e "/addScript.*devel/d" -e "s@//\(.*addScript.*app.min\)@\1@" templates/main.php
80 mkdir -p $out 91 mkdir -p $out
81 cp -R . $out/ 92 cp -R . $out/
82 ''; 93 '';
83 }; 94 };
95 passman = buildApp rec {
96 appName = "passman";
97 version = "2.2.1";
98 url = "https://releases.passman.cc/${appName}_${version}.tar.gz";
99 sha256 = "064pq9d0pl3y1vcywpi19fg47zy7j4h0jaxy6jklwzwcrmzagbka";
100 };
84 spreed = buildApp rec { 101 spreed = buildApp rec {
85 appName = "spreed"; 102 appName = "spreed";
86 version = "5.0.0"; 103 version = "5.0.2";
87 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz"; 104 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz";
88 sha256 = "1d48mak1fnf1b28r2687yqamm4pxfg3qyxcj9ny31a6xg2cm0xa7"; 105 sha256 = "0z9zhpkq485lhwirc2f04427rd47hzv0r8frz72dkrszb037qjvv";
89 }; 106 };
90 tasks = buildApp rec { 107 tasks = buildApp rec {
91 appName = "tasks"; 108 appName = "tasks";
@@ -160,11 +177,11 @@ let
160 }; 177 };
161 webRoot = stdenv.mkDerivation rec { 178 webRoot = stdenv.mkDerivation rec {
162 name = "nextcloud-${version}"; 179 name = "nextcloud-${version}";
163 version = "15.0.0"; 180 version = "15.0.4";
164 181
165 src = fetchurl { 182 src = fetchurl {
166 url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2"; 183 url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
167 sha256 = "0y7bk1588n5rmmranmmrkajh50074460hr4v052ahg9mf60wbc2v"; 184 sha256 = "0xwg7p31y1pkjk1pzygh9shpqxnfkafrab52j7in7xblq53v0zgq";
168 }; 185 };
169 186
170 installPhase = '' 187 installPhase = ''