16 stdenv.mkDerivation rec {
21 url = "http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2";
22 hash = "sha256-aj+T6AevtR8birbsj+83nfzFC6cf72q+7nwSM0jaZrA=";
29 # Fix build with latest boost
30 # https://swift.im/git/swift/commit/Swiften/Base/Platform.h?id=3666cbbe30e4d4e25401a5902ae359bc2c24248b
32 name = "3666cbbe30e4d4e25401a5902ae359bc2c24248b.patch";
33 url = "https://swift.im/git/swift/patch/Swiften/Base/Platform.h?id=3666cbbe30e4d4e25401a5902ae359bc2c24248b";
34 sha256 = "Wh8Nnfm0/EppSJ7aH2vTNObHtodE5tM19kV1oDfm70w=";
50 propagatedBuildInputs = [
56 "openssl=${openssl.dev}"
57 "boost_includedir=${boost.dev}/include"
58 "boost_libdir=${boost.out}/lib"
59 "boost_bundled_enable=false"
67 # Ensure bundled dependencies cannot be used.
71 -name '*.py' -o -name SConscript -o -name SConstruct \
75 installTargets = "${placeholder "out"}";
78 "SWIFTEN_INSTALLDIR=${placeholder "out"}"
81 enableParallelBuilding = true;
84 description = "XMPP library for C++, used by the Swift client";
85 mainProgram = "swiften-config";
86 homepage = "http://swift.im/swiften.html";
87 license = licenses.gpl2Plus;
88 platforms = platforms.linux;
89 maintainers = [ maintainers.twey ];