davix: fix on darwin

+7 -4
+4 -3
pkgs/tools/networking/davix/default.nix
··· 10 , libuuid 11 , curl 12 , gsoap 13 , enableTools ? true 14 # Use libcurl instead of libneon 15 # Note that the libneon used is bundled in the project ··· 32 openssl 33 libxml2 34 boost 35 - libuuid 36 curl 37 ] 38 ++ lib.optional (enableThirdPartyCopy) gsoap; 39 40 # using the url below since the github release page states ··· 53 54 cmakeFlags = [ 55 "-DENABLE_TOOLS=${boolToUpper enableTools}" 56 - "-DEMBEDDED_LIBCURL=false" 57 "-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}" 58 "-DENABLE_IPV6=${boolToUpper enableIpv6}" 59 "-DENABLE_TCP_NODELAY=${boolToUpper enableTcpNodelay}" ··· 61 ]; 62 63 meta = with lib; { 64 - broken = stdenv.isDarwin; 65 description = "Toolkit for Http-based file management"; 66 67 longDescription = "Davix is a toolkit designed for file
··· 10 , libuuid 11 , curl 12 , gsoap 13 + , Security 14 , enableTools ? true 15 # Use libcurl instead of libneon 16 # Note that the libneon used is bundled in the project ··· 33 openssl 34 libxml2 35 boost 36 curl 37 ] 38 + ++ lib.optional stdenv.isDarwin Security 39 + ++ lib.optional (!stdenv.isDarwin) libuuid 40 ++ lib.optional (enableThirdPartyCopy) gsoap; 41 42 # using the url below since the github release page states ··· 55 56 cmakeFlags = [ 57 "-DENABLE_TOOLS=${boolToUpper enableTools}" 58 + "-DEMBEDDED_LIBCURL=OFF" 59 "-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}" 60 "-DENABLE_IPV6=${boolToUpper enableIpv6}" 61 "-DENABLE_TCP_NODELAY=${boolToUpper enableTcpNodelay}" ··· 63 ]; 64 65 meta = with lib; { 66 description = "Toolkit for Http-based file management"; 67 68 longDescription = "Davix is a toolkit designed for file
+3 -1
pkgs/top-level/all-packages.nix
··· 5202 5203 cadaver = callPackage ../tools/networking/cadaver { }; 5204 5205 - davix = callPackage ../tools/networking/davix { }; 5206 5207 davix-copy = davix.override { enableThirdPartyCopy = true; }; 5208
··· 5202 5203 cadaver = callPackage ../tools/networking/cadaver { }; 5204 5205 + davix = callPackage ../tools/networking/davix { 5206 + inherit (darwin.apple_sdk.frameworks) Security; 5207 + }; 5208 5209 davix-copy = davix.override { enableThirdPartyCopy = true; }; 5210