aboutsummaryrefslogblamecommitdiff
path: root/pkgs/webapps/nextcloud/apps/cookbook.nix
blob: 63cac0dd7386b07172f3cb4f8209497c07177a81 (plain) (tree)
1
2
3
4
5
6
7

                                                        

                       
                    
                                                                                                       
                                                                  






                                                                                                                
{ buildApp, nextcloudVersion }:
assert nextcloudVersion >= 14 && nextcloudVersion <= 19;
buildApp rec {
  appName = "cookbook";
  version = "0.6.5";
  url = "https://github.com/mrzapp/nextcloud-cookbook/releases/download/v${version}/${appName}.tar.gz";
  sha256 = "068dxdxy9ix37970mn348blkdrrnkzad26zgyx4f5s19wm439p5j";
  installPhase = ''
    sed -i -e "s/application..ld..json/application[^\"|\\\\']*ld[^\"|\\\\']*json/" lib/Service/RecipeService.php
    mkdir -p $out
    cp -R . $out/
    '';
}