megasync: 4.3.5.0 -> 4.4.0.0

Signed-off-by: Michal Minář <mic.liamg@gmail.com>
This commit is contained in:
Michal Minář 2021-02-17 05:52:49 +01:00
parent a73020b2a1
commit c9b141a3b2

View File

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, autoconf , autoconf
, automake , automake
, c-ares , c-ares
@ -24,21 +25,29 @@
, unzip , unzip
, wget , wget
}: }:
mkDerivation rec { mkDerivation rec {
pname = "megasync"; pname = "megasync";
version = "4.3.5.0"; version = "4.4.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "meganz"; owner = "meganz";
repo = "MEGAsync"; repo = "MEGAsync";
rev = "v${version}_Linux"; rev = "v${version}_Linux";
sha256 = "0rr1jjy0n5bj1lh6xi3nbbcikvq69j3r9qnajp4mhywr5izpccvs"; sha256 = "1xggca7283943070mmpsfhh7c9avy809h0kgmf7497f4ca5zkg2y";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = nativeBuildInputs = [
[ autoconf automake doxygen lsb-release pkg-config qttools swig unzip ]; autoconf
automake
doxygen
libtool
lsb-release
pkg-config
qttools
swig
unzip
];
buildInputs = [ buildInputs = [
c-ares c-ares
cryptopp cryptopp
@ -47,7 +56,6 @@ mkDerivation rec {
libmediainfo libmediainfo
libraw libraw
libsodium libsodium
libtool
libuv libuv
libzen libzen
qtbase qtbase
@ -65,7 +73,7 @@ mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
for file in $(find src/ -type f \( -iname configure -o -iname \*.sh \) ); do for file in $(find src/ -type f \( -iname configure -o -iname \*.sh \) ); do
substituteInPlace "$file" --replace "/bin/bash" "${stdenv.shell}" substituteInPlace "$file" --replace "/bin/bash" "${stdenv.shell}"
done done
''; '';