summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-12 04:20:23 +0200
committerGitHub <noreply@github.com>2021-04-12 04:20:23 +0200
commite6b721a13a211be11b4307a6b7a0a78b098beb09 (patch)
tree22c3fe88b621559247b798921238d5b39c730247 /pkgs
parent06bad85574280676fec907234bcb58281058c0d2 (diff)
parentc9b141a3b260e5b68b0d48122fffe7ebc11a5dc3 (diff)
downloadnixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar.gz
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar.bz2
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar.lz
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar.xz
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.tar.zst
nixpkgs-e6b721a13a211be11b4307a6b7a0a78b098beb09.zip
Merge pull request #114776 from michojel/megaFix-4.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/megasync/default.nix24
1 files changed, 16 insertions, 8 deletions
diff --git a/pkgs/applications/misc/megasync/default.nix b/pkgs/applications/misc/megasync/default.nix
index 9ae6fda9fce..78cf6a07e8c 100644
--- a/pkgs/applications/misc/megasync/default.nix
+++ b/pkgs/applications/misc/megasync/default.nix
@@ -1,4 +1,5 @@
-{ lib, stdenv
+{ lib
+, stdenv
 , autoconf
 , automake
 , c-ares
@@ -24,21 +25,29 @@
 , unzip
 , wget
 }:
-
 mkDerivation rec {
   pname = "megasync";
-  version = "4.3.5.0";
+  version = "4.4.0.0";
 
   src = fetchFromGitHub {
     owner = "meganz";
     repo = "MEGAsync";
     rev = "v${version}_Linux";
-    sha256 = "0rr1jjy0n5bj1lh6xi3nbbcikvq69j3r9qnajp4mhywr5izpccvs";
+    sha256 = "1xggca7283943070mmpsfhh7c9avy809h0kgmf7497f4ca5zkg2y";
     fetchSubmodules = true;
   };
 
-  nativeBuildInputs =
-    [ autoconf automake doxygen lsb-release pkg-config qttools swig unzip ];
+  nativeBuildInputs = [
+    autoconf
+    automake
+    doxygen
+    libtool
+    lsb-release
+    pkg-config
+    qttools
+    swig
+    unzip
+  ];
   buildInputs = [
     c-ares
     cryptopp
@@ -47,7 +56,6 @@ mkDerivation rec {
     libmediainfo
     libraw
     libsodium
-    libtool
     libuv
     libzen
     qtbase
@@ -65,7 +73,7 @@ mkDerivation rec {
   ];
 
   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}"
     done
   '';