Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 36 lines 924 B view raw
1{ lib, stdenv 2, fetchurl 3, autoreconfHook 4, gettext 5, gnutls 6, nettle 7, pkg-config 8, libiconv 9, libxcrypt 10, ApplicationServices 11}: 12 13stdenv.mkDerivation rec { 14 pname = "libfilezilla"; 15 version = "0.41.0"; 16 17 src = fetchurl { 18 url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2"; 19 hash = "sha256-rCodDYKOpgB4fOoefuUNIfDTvZFSzs5hh7ivyQBiKqA="; 20 }; 21 22 nativeBuildInputs = [ autoreconfHook pkg-config ]; 23 24 buildInputs = [ gettext gnutls nettle libxcrypt ] 25 ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ]; 26 27 enableParallelBuilding = true; 28 29 meta = with lib; { 30 homepage = "https://lib.filezilla-project.org/"; 31 description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs"; 32 license = licenses.gpl2Plus; 33 maintainers = with maintainers; [ pSub ]; 34 platforms = platforms.unix; 35 }; 36}