megasync: format with nixfmt
This commit is contained in:
parent
bee470ef9a
commit
5e55ebb2b4
|
@ -1,28 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
|
||||||
, autoconf
|
, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen, lsb-release
|
||||||
, automake
|
, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip, wget }:
|
||||||
, 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 {
|
mkDerivation rec {
|
||||||
pname = "megasync";
|
pname = "megasync";
|
||||||
|
@ -36,15 +14,8 @@ mkDerivation rec {
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs =
|
||||||
autoconf
|
[ autoconf automake doxygen lsb-release pkgconfig qttools swig ];
|
||||||
automake
|
|
||||||
doxygen
|
|
||||||
lsb-release
|
|
||||||
pkgconfig
|
|
||||||
qttools
|
|
||||||
swig
|
|
||||||
];
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
c-ares
|
c-ares
|
||||||
cryptopp
|
cryptopp
|
||||||
|
@ -85,21 +56,21 @@ mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-examples"
|
"--disable-examples"
|
||||||
"--disable-java"
|
"--disable-java"
|
||||||
"--disable-php"
|
"--disable-php"
|
||||||
"--enable-chat"
|
"--enable-chat"
|
||||||
"--with-cares"
|
"--with-cares"
|
||||||
"--with-cryptopp"
|
"--with-cryptopp"
|
||||||
"--with-curl"
|
"--with-curl"
|
||||||
"--with-ffmpeg"
|
"--with-ffmpeg"
|
||||||
"--without-freeimage" # unreferenced even when found
|
"--without-freeimage" # unreferenced even when found
|
||||||
"--without-readline"
|
"--without-readline"
|
||||||
"--without-termcap"
|
"--without-termcap"
|
||||||
"--with-sodium"
|
"--with-sodium"
|
||||||
"--with-sqlite"
|
"--with-sqlite"
|
||||||
"--with-zlib"
|
"--with-zlib"
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
cd ../..
|
cd ../..
|
||||||
|
@ -114,10 +85,11 @@ mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Easy automated syncing between your computers and your MEGA Cloud Drive";
|
description =
|
||||||
homepage = https://mega.nz/;
|
"Easy automated syncing between your computers and your MEGA Cloud Drive";
|
||||||
license = licenses.unfree;
|
homepage = "https://mega.nz/";
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
license = licenses.unfree;
|
||||||
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
maintainers = [ maintainers.michojel ];
|
maintainers = [ maintainers.michojel ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue