nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix

71 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-07-11 01:28:02 -07:00
, fetchurl
2020-09-09 02:22:30 -07:00
, autoreconfHook
2019-07-11 01:28:02 -07:00
, dbus
, gettext
, gnutls
, libfilezilla
, libidn
, nettle
, pkg-config
2019-07-11 01:28:02 -07:00
, pugixml
, sqlite
, tinyxml
, wxGTK30-gtk3
2021-02-01 00:05:09 -08:00
, xdg-utils
2019-07-11 01:28:02 -07:00
}:
stdenv.mkDerivation rec {
pname = "filezilla";
2021-04-28 03:43:04 -07:00
version = "3.53.1";
2013-04-26 13:40:40 -07:00
2012-12-31 02:59:08 -08:00
src = fetchurl {
2019-05-30 18:38:41 -07:00
url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2";
2021-04-28 03:43:04 -07:00
sha256 = "sha256-ZWh08ursVGcscvQepeoUnFAZfFDeXWdIu0HXIr/D93k=";
2012-12-31 02:59:08 -08:00
};
2013-04-26 13:40:40 -07:00
2020-04-28 07:46:36 -07: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 02:59:08 -08:00
configureFlags = [
"--disable-manualupdatecheck"
2019-05-30 18:38:41 -07:00
"--disable-autoupdatecheck"
2012-12-31 02:59:08 -08:00
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
2020-04-28 07:46:36 -07:00
buildInputs = [
2019-07-11 01:28:02 -07:00
dbus
gettext
gnutls
libfilezilla
libidn
nettle
pugixml
sqlite
tinyxml
wxGTK30-gtk3
wxGTK30-gtk3.gtk
2021-02-01 00:05:09 -08:00
xdg-utils
2019-07-11 01:28:02 -07:00
];
enableParallelBuilding = true;
meta = with lib; {
2019-07-11 01:28:02 -07:00
homepage = "https://filezilla-project.org/";
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
under many platforms, binaries for Windows, Linux and macOS are
provided.
'';
2019-07-11 01:28:02 -07:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
2012-12-31 02:59:08 -08:00
};
}