diff options
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 |