nixpkgs/pkgs/development/libraries/libfilezilla/default.nix

36 lines
881 B
Nix
Raw Normal View History

2019-07-11 01:27:29 -07:00
{ stdenv
, fetchurl
, gettext
, gnutls
, nettle
, pkgconfig
2020-07-19 02:20:00 -07:00
, libiconv
, ApplicationServices
2019-07-11 01:27:29 -07:00
}:
2016-02-19 13:48:42 -08:00
stdenv.mkDerivation rec {
pname = "libfilezilla";
2020-08-26 02:42:55 -07:00
version = "0.24.0";
2016-02-19 13:48:42 -08:00
src = fetchurl {
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
2020-08-26 02:42:55 -07:00
sha256 = "1372i9f501kn8p1vkqdydaqvvi6lzxsnw2yzyxx5j4syqd4p0qa5";
2016-02-19 13:48:42 -08:00
};
nativeBuildInputs = [ pkgconfig ];
2020-04-28 07:46:22 -07:00
2020-07-19 02:20:00 -07:00
buildInputs = [ gettext gnutls nettle ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
2020-04-28 07:46:22 -07:00
enableParallelBuilding = true;
2016-02-19 13:48:42 -08:00
meta = with stdenv.lib; {
2019-07-11 01:27:29 -07:00
homepage = "https://lib.filezilla-project.org/";
2016-02-19 13:48:42 -08:00
description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ pSub ];
2020-07-19 02:20:00 -07:00
platforms = platforms.unix;
2016-02-19 13:48:42 -08:00
};
}