summary refs log tree commit diff
path: root/pkgs/applications/misc/megasync
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2020-02-26 13:54:00 +0100
committerPatrick Hilhorst <git@hilhorst.be>2020-02-26 13:54:00 +0100
commit5e55ebb2b40910a970a8562c1ab434e47f8dc838 (patch)
tree01e54541b51c2b911e2022c6f5e6e1dc71126d44 /pkgs/applications/misc/megasync
parentbee470ef9a8dc8af085e89135be94875552198f7 (diff)
downloadnixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar.gz
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar.bz2
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar.lz
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar.xz
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.tar.zst
nixpkgs-5e55ebb2b40910a970a8562c1ab434e47f8dc838.zip
megasync: format with nixfmt
Diffstat (limited to 'pkgs/applications/misc/megasync')
-rw-r--r--pkgs/applications/misc/megasync/default.nix78
1 files changed, 25 insertions, 53 deletions
diff --git a/pkgs/applications/misc/megasync/default.nix b/pkgs/applications/misc/megasync/default.nix
index 6e51e3cda76..5de4cb002dc 100644
--- a/pkgs/applications/misc/megasync/default.nix
+++ b/pkgs/applications/misc/megasync/default.nix
@@ -1,28 +1,6 @@
-{ 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
+, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen, lsb-release
+, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip, wget }:
 
 mkDerivation rec {
   pname = "megasync";
@@ -36,15 +14,8 @@ mkDerivation rec {
     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 +56,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 +85,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 ];
   };
 }