13 stdenv.mkDerivation rec {
14 pname = "libfilezilla";
18 url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.xz";
19 hash = "sha256-YYpYa2E773EKYzxCv92mFmbLsPyKkq1JA2HQvJHFg0E=";
22 nativeBuildInputs = [ autoreconfHook pkg-config ];
24 buildInputs = [ gettext gnutls nettle libxcrypt ]
25 ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ApplicationServices ];
27 preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
28 export MACOSX_DEPLOYMENT_TARGET=11.0
31 enableParallelBuilding = true;
34 homepage = "https://lib.filezilla-project.org/";
35 description = "Modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
36 license = licenses.gpl2Plus;
37 maintainers = with maintainers; [ pSub ];
38 platforms = lib.platforms.unix;