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

76 lines
1.6 KiB
Nix
Raw Normal View History

2019-07-11 08:28:02 +00:00
{ stdenv
, fetchurl
, dbus
, gettext
, gnutls
, libfilezilla
, libidn
, nettle
, pkgconfig
, pugixml
, sqlite
, tinyxml
, wxGTK30
, xdg_utils
}:
2020-04-28 14:46:36 +00:00
let
# we can drop this when wxgtk is built with gtk3 by default
# see: https://github.com/NixOS/nixpkgs/pull/73145
wxgtk' = wxGTK30.override { compat26 = false; withGtk2 = false; };
in
2019-07-11 08:28:02 +00:00
stdenv.mkDerivation rec {
pname = "filezilla";
2020-05-28 23:25:05 +00:00
version = "3.48.1";
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";
2020-05-28 23:25:05 +00:00
sha256 = "0pgg2gp4x5qmxwin2qhf6skw0z52y29p75g41kjyh1lhzxvxizxb";
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
];
2016-11-19 21:14:29 +00:00
nativeBuildInputs = [ pkgconfig ];
2020-04-28 14:46:36 +00:00
buildInputs = [
2019-07-11 08:28:02 +00:00
dbus
gettext
gnutls
libfilezilla
libidn
nettle
pugixml
sqlite
tinyxml
2020-04-28 14:46:36 +00:00
wxgtk'
wxgtk'.gtk
2019-07-11 08:28:02 +00:00
xdg_utils
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
2019-07-11 08:28:02 +00: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 08:28:02 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
2012-12-31 10:59:08 +00:00
};
}