nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix
2019-06-09 12:29:57 +02:00

44 lines
1.3 KiB
Nix

{ stdenv, fetchurl, dbus, gnutls, wxGTK30, libidn, tinyxml, gettext
, pkgconfig, xdg_utils, gtk2, sqlite, pugixml, libfilezilla, nettle
, makeWrapper
}:
let version = "3.31.0"; in
stdenv.mkDerivation {
name = "filezilla-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/filezilla/FileZilla_Client/${version}/FileZilla_${version}_src.tar.bz2";
sha256 = "1rfysb8dil35a7bzj2kw0mzzkys39d7yn6ipsbk8l6rkwfvnii8l";
};
configureFlags = [
"--disable-manualupdatecheck"
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
dbus gnutls wxGTK30 libidn tinyxml gettext xdg_utils gtk2 sqlite
pugixml libfilezilla nettle makeWrapper ];
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/filezilla --set FZ_DATADIR $out
'';
meta = with stdenv.lib; {
homepage = https://filezilla-project.org/;
description = "Graphical FTP, FTPS and SFTP client";
license = licenses.gpl2;
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.
'';
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}