summaryrefslogtreecommitdiff
path: root/pkgs/webapps/nextcloud/apps/cookbook.nix
blob: adc47c2aedd160a478f104b9d0d4e7d0cf827e4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ buildApp }:
buildApp rec {
  appName = "cookbook";
  version = "0.5.4";
  url = "https://github.com/mrzapp/nextcloud-cookbook/releases/download/v${version}/${appName}.tar.gz";
  sha256 = "1dav07jylmw9n05l7p3m20ywky27nrg3gna271mly5bvs9q6kanm";
  installPhase = ''
    sed -i -e "s/application..ld..json/application[^\"|\\\\']*ld[^\"|\\\\']*json/" lib/Service/RecipeService.php
    mkdir -p $out
    cp -R . $out/
    '';
}