mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
Merge pull request #297758 from diogotcorreia/fetchnextcloudapp-hash
fetchNextcloudApp: support passing hash to fetchzip
This commit is contained in:
commit
b5e22438aa
@ -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 New Issue
Block a user