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

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.42.1"; in
stdenv.mkDerivation {
name = "filezilla-${version}";
src = fetchurl {
url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2";
sha256 = "083ycsycwy1szhp3mzf998wsqa74hmdxdsy07x6k81vp2cxjxijg";
};
configureFlags = [
"--disable-manualupdatecheck"
"--disable-autoupdatecheck"
];
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 ];
};
}