Merge pull request #297758 from diogotcorreia/fetchnextcloudapp-hash

fetchNextcloudApp: support passing hash to fetchzip
This commit is contained in:
Maximilian Bosch 2024-03-22 17:28:37 +00:00 committed by GitHub
commit b5e22438aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ 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