diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-07 10:39:56 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-08 01:35:21 +0200 |
commit | 65b715d7e4a47f00fe0fca6c4b0eaff19e874d38 (patch) | |
tree | a82893e4520225fb33e96d15e9e67ccecb35b32e /pkgs/webapps/nextcloud/apps/cookbook.nix | |
parent | 4e3e4761c8566cbc47c64d66bfc21bb6dee32860 (diff) | |
download | Nix-65b715d7e4a47f00fe0fca6c4b0eaff19e874d38.tar.gz Nix-65b715d7e4a47f00fe0fca6c4b0eaff19e874d38.tar.zst Nix-65b715d7e4a47f00fe0fca6c4b0eaff19e874d38.zip |
Upgrade nextcloud
Diffstat (limited to 'pkgs/webapps/nextcloud/apps/cookbook.nix')
-rw-r--r-- | pkgs/webapps/nextcloud/apps/cookbook.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/webapps/nextcloud/apps/cookbook.nix b/pkgs/webapps/nextcloud/apps/cookbook.nix index adc47c2..63cac0d 100644 --- a/pkgs/webapps/nextcloud/apps/cookbook.nix +++ b/pkgs/webapps/nextcloud/apps/cookbook.nix | |||
@@ -1,9 +1,10 @@ | |||
1 | { buildApp }: | 1 | { buildApp, nextcloudVersion }: |
2 | assert nextcloudVersion >= 14 && nextcloudVersion <= 19; | ||
2 | buildApp rec { | 3 | buildApp rec { |
3 | appName = "cookbook"; | 4 | appName = "cookbook"; |
4 | version = "0.5.4"; | 5 | version = "0.6.5"; |
5 | url = "https://github.com/mrzapp/nextcloud-cookbook/releases/download/v${version}/${appName}.tar.gz"; | 6 | url = "https://github.com/mrzapp/nextcloud-cookbook/releases/download/v${version}/${appName}.tar.gz"; |
6 | sha256 = "1dav07jylmw9n05l7p3m20ywky27nrg3gna271mly5bvs9q6kanm"; | 7 | sha256 = "068dxdxy9ix37970mn348blkdrrnkzad26zgyx4f5s19wm439p5j"; |
7 | installPhase = '' | 8 | installPhase = '' |
8 | sed -i -e "s/application..ld..json/application[^\"|\\\\']*ld[^\"|\\\\']*json/" lib/Service/RecipeService.php | 9 | sed -i -e "s/application..ld..json/application[^\"|\\\\']*ld[^\"|\\\\']*json/" lib/Service/RecipeService.php |
9 | mkdir -p $out | 10 | mkdir -p $out |