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