Unverified Commit b5e22438 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #297758 from diogotcorreia/fetchnextcloudapp-hash

fetchNextcloudApp: support passing hash to fetchzip
parents e2c423b7 24e9d55a
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