megasync: 4.2.3.0 -> 4.2.5.0
Also pull in an (as of yet unmerged) upstream patch to fix the build, it was failing on both .3 and .5
This commit is contained in:
parent
5e55ebb2b4
commit
080a6b0dab
@ -1,16 +1,17 @@
|
|||||||
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
|
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
|
||||||
, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen, lsb-release
|
, fetchpatch, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen
|
||||||
, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip, wget }:
|
, lsb-release, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip
|
||||||
|
, wget }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "megasync";
|
pname = "megasync";
|
||||||
version = "4.2.3.0";
|
version = "4.2.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "meganz";
|
owner = "meganz";
|
||||||
repo = "MEGAsync";
|
repo = "MEGAsync";
|
||||||
rev = "v${version}_Linux";
|
rev = "v${version}_Linux";
|
||||||
sha256 = "0l4yfrxjb62vc9dnlzy8rjqi68ga1bys5x5rfzs40daw13yf1adv";
|
sha256 = "1zw7x8gpvzhnzyirs5ishjl5idzyyin4wdxa67d6gzfgvqi33n7w";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -39,6 +40,13 @@ mkDerivation rec {
|
|||||||
./noinstall-distro-version.patch
|
./noinstall-distro-version.patch
|
||||||
# megasync target is not part of the install rule thanks to a commented block
|
# megasync target is not part of the install rule thanks to a commented block
|
||||||
./install-megasync.patch
|
./install-megasync.patch
|
||||||
|
|
||||||
|
# Fix build errror also described upstream:
|
||||||
|
# https://github.com/meganz/MEGAsync/pull/313
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/meganz/MEGAsync/pull/313.patch";
|
||||||
|
sha256 = "1ld00cnh9afxibvkzkqi8gz59xlzidw2dy4yqngwwdqy76sfsn3w";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user