2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-07-11 08:28:02 +00:00
|
|
|
, fetchurl
|
2020-09-09 09:22:30 +00:00
|
|
|
, autoreconfHook
|
2019-07-11 08:28:02 +00:00
|
|
|
, dbus
|
|
|
|
, gettext
|
|
|
|
, gnutls
|
|
|
|
, libfilezilla
|
|
|
|
, libidn
|
|
|
|
, nettle
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2019-07-11 08:28:02 +00:00
|
|
|
, pugixml
|
|
|
|
, sqlite
|
|
|
|
, tinyxml
|
2021-06-14 11:48:56 +00:00
|
|
|
, wrapGAppsHook
|
2020-06-15 03:01:53 +00:00
|
|
|
, wxGTK30-gtk3
|
2021-02-01 08:05:09 +00:00
|
|
|
, xdg-utils
|
2019-07-11 08:28:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "filezilla";
|
2022-02-15 12:45:56 +00:00
|
|
|
version = "3.58.0";
|
2013-04-26 20:40:40 +00:00
|
|
|
|
2012-12-31 10:59:08 +00:00
|
|
|
src = fetchurl {
|
2019-05-31 01:38:41 +00:00
|
|
|
url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2";
|
2022-02-15 12:45:56 +00:00
|
|
|
sha256 = "sha256-0P5/cuAfd0K6oGRmgYsYbo6R//Ytbuey8OiEtrM4XYg=";
|
2012-12-31 10:59:08 +00:00
|
|
|
};
|
2013-04-26 20:40:40 +00:00
|
|
|
|
2020-04-28 14:46:36 +00:00
|
|
|
# https://www.linuxquestions.org/questions/slackware-14/trouble-building-filezilla-3-47-2-1-current-4175671182/#post6099769
|
|
|
|
postPatch = ''
|
|
|
|
sed -i src/interface/Mainfrm.h \
|
|
|
|
-e '/^#define/a #include <list>'
|
|
|
|
'';
|
|
|
|
|
2012-12-31 10:59:08 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-manualupdatecheck"
|
2019-05-31 01:38:41 +00:00
|
|
|
"--disable-autoupdatecheck"
|
2012-12-31 10:59:08 +00:00
|
|
|
];
|
2013-04-26 20:39:20 +00:00
|
|
|
|
2021-06-14 11:48:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
2020-04-28 14:46:36 +00:00
|
|
|
|
2013-11-04 21:41:16 +00:00
|
|
|
buildInputs = [
|
2019-07-11 08:28:02 +00:00
|
|
|
dbus
|
|
|
|
gettext
|
|
|
|
gnutls
|
|
|
|
libfilezilla
|
|
|
|
libidn
|
|
|
|
nettle
|
|
|
|
pugixml
|
|
|
|
sqlite
|
|
|
|
tinyxml
|
2020-06-15 03:01:53 +00:00
|
|
|
wxGTK30-gtk3
|
|
|
|
wxGTK30-gtk3.gtk
|
2021-02-01 08:05:09 +00:00
|
|
|
xdg-utils
|
2019-07-11 08:28:02 +00:00
|
|
|
];
|
2019-06-01 02:23:44 +00:00
|
|
|
|
2019-06-09 10:29:57 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-11 08:28:02 +00:00
|
|
|
homepage = "https://filezilla-project.org/";
|
2013-04-26 20:40:29 +00:00
|
|
|
description = "Graphical FTP, FTPS and SFTP client";
|
|
|
|
longDescription = ''
|
|
|
|
FileZilla Client is a free, open source FTP client. It supports
|
|
|
|
FTP, SFTP, and FTPS (FTP over SSL/TLS). The client is available
|
2017-08-06 22:05:18 +00:00
|
|
|
under many platforms, binaries for Windows, Linux and macOS are
|
2013-04-26 20:40:29 +00:00
|
|
|
provided.
|
|
|
|
'';
|
2019-07-11 08:28:02 +00:00
|
|
|
license = licenses.gpl2;
|
2013-11-04 21:41:16 +00:00
|
|
|
platforms = platforms.linux;
|
2015-06-24 08:46:34 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-12-31 10:59:08 +00:00
|
|
|
};
|
|
|
|
}
|