Merge pull request #21638 from benley/insync

insync: init at 1.3.13.36129
This commit is contained in:
Michael Raskin 2017-01-09 09:46:15 +00:00 committed by GitHub
commit b9bb55c03f
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
name = "insync-${version}";
version = "1.3.13.36129";
src = fetchurl {
url = "http://s.insynchq.com/builds/insync-portable_${version}_amd64.tar.bz2";
sha256 = "18d8ww529nvhwcl5k31qmkzb83k9753ics0dw64w202r8vwbm3cd";
};
buildInputs = [ makeWrapper ];
postPatch = ''
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" client/insync-portable
'';
installPhase = ''
mkdir -p $out/bin
cp -a client $out/client
makeWrapper $out/client/insync-portable $out/bin/insync --set LC_TIME C
'';
meta = {
platforms = ["x86_64-linux"];
license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.benley ];
homepage = https://www.insynchq.com;
description = "Google Drive sync and backup with multiple account support";
longDescription = ''
Insync is a commercial application that syncs your Drive files to your
computer. It has more advanced features than Google's official client
such as multiple account support, Google Doc conversion, symlink support,
and built in sharing.
'';
};
}

View File

@ -14931,6 +14931,8 @@ in
dropbox-cli = callPackage ../applications/networking/dropbox-cli { };
insync = callPackage ../applications/networking/insync { };
lightdm = qt5.callPackage ../applications/display-managers/lightdm {
qt4 = null;
withQt5 = false;