about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2020-03-16 09:06:04 +0100
committerGitHub <noreply@github.com>2020-03-16 09:06:04 +0100
commit1b5ef3f4b161acc62a13272c5c69fb5aea2528b3 (patch)
treedb879341c8961c86cde2688c9c7cd33d90f17eb8 /pkgs
parent30631f74a08f4274bedbfb666ea97fb6791c5c1c (diff)
parent8565dcf7bc7f6525063c24adb21ccbd663448a61 (diff)
downloadnixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar.gz
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar.bz2
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar.lz
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar.xz
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.tar.zst
nixlib-1b5ef3f4b161acc62a13272c5c69fb5aea2528b3.zip
Merge pull request #81117 from Synthetica9/megaFix
 megasync: 4.2.3.0 -> 4.3.0.8
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/megasync/default.nix83
1 files changed, 28 insertions, 55 deletions
diff --git a/pkgs/applications/misc/megasync/default.nix b/pkgs/applications/misc/megasync/default.nix
index 6e51e3cda762..3a26def26c91 100644
--- a/pkgs/applications/misc/megasync/default.nix
+++ b/pkgs/applications/misc/megasync/default.nix
@@ -1,50 +1,22 @@
-{ stdenv
-, autoconf
-, automake
-, c-ares
-, cryptopp
-, curl
-, doxygen
-, fetchFromGitHub
-, ffmpeg
-, libmediainfo
-, libraw
-, libsodium
-, libtool
-, libuv
-, libzen
-, lsb-release
-, mkDerivation
-, pkgconfig
-, qtbase
-, qttools
-, sqlite
-, swig
-, unzip
-, wget
-}:
+{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
+, fetchpatch, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen
+, lsb-release, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip
+, wget }:
 
 mkDerivation rec {
   pname = "megasync";
-  version = "4.2.3.0";
+  version = "4.3.0.8";
 
   src = fetchFromGitHub {
     owner = "meganz";
     repo = "MEGAsync";
     rev = "v${version}_Linux";
-    sha256 = "0l4yfrxjb62vc9dnlzy8rjqi68ga1bys5x5rfzs40daw13yf1adv";
+    sha256 = "1rhxkc6j3039rcsi8cxy3n00g6w7acir82ymnksbpsnp4yxqv5r3";
     fetchSubmodules = true;
   };
 
-  nativeBuildInputs = [
-    autoconf
-    automake
-    doxygen
-    lsb-release
-    pkgconfig
-    qttools
-    swig
-  ];
+  nativeBuildInputs =
+    [ autoconf automake doxygen lsb-release pkgconfig qttools swig ];
   buildInputs = [
     c-ares
     cryptopp
@@ -85,21 +57,21 @@ mkDerivation rec {
   '';
 
   configureFlags = [
-          "--disable-examples"
-          "--disable-java"
-          "--disable-php"
-          "--enable-chat"
-          "--with-cares"
-          "--with-cryptopp"
-          "--with-curl"
-          "--with-ffmpeg"
-          "--without-freeimage"  # unreferenced even when found
-          "--without-readline"
-          "--without-termcap"
-          "--with-sodium"
-          "--with-sqlite"
-          "--with-zlib"
-    ];
+    "--disable-examples"
+    "--disable-java"
+    "--disable-php"
+    "--enable-chat"
+    "--with-cares"
+    "--with-cryptopp"
+    "--with-curl"
+    "--with-ffmpeg"
+    "--without-freeimage" # unreferenced even when found
+    "--without-readline"
+    "--without-termcap"
+    "--with-sodium"
+    "--with-sqlite"
+    "--with-zlib"
+  ];
 
   postConfigure = ''
     cd ../..
@@ -114,10 +86,11 @@ mkDerivation rec {
   '';
 
   meta = with stdenv.lib; {
-    description = "Easy automated syncing between your computers and your MEGA Cloud Drive";
-    homepage    = https://mega.nz/;
-    license     = licenses.unfree;
-    platforms   = [ "i686-linux" "x86_64-linux" ];
+    description =
+      "Easy automated syncing between your computers and your MEGA Cloud Drive";
+    homepage = "https://mega.nz/";
+    license = licenses.unfree;
+    platforms = [ "i686-linux" "x86_64-linux" ];
     maintainers = [ maintainers.michojel ];
   };
 }