fetchNextcloudApp: support passing hash to fetchzip
This commit is contained in:
parent
7872526e9c
commit
24e9d55af6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue