Unverified Commit 24e9d55a authored by Diogo Correia's avatar Diogo Correia
Browse files

fetchNextcloudApp: support passing hash to fetchzip

parent 7872526e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
{ stdenv, fetchzip, applyPatches, lib, ... }:
{ url
, sha256
, hash ? ""
, sha256 ? ""
, appName ? null
, appVersion ? null
, license
@@ -11,7 +12,7 @@
applyPatches ({
  inherit patches;
  src = fetchzip {
    inherit url sha256;
    inherit url hash sha256;
    postFetch = ''
      pushd $out &>/dev/null
      if [ ! -f ./appinfo/info.xml ]; then