2017-03-09 02:17:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake
|
|
|
|
, qt5, libidn, qca2-qt5, libXScrnSaver, hunspell
|
|
|
|
, libgcrypt, libotr, html-tidy, libgpgerror
|
2017-03-07 13:21:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "psi-plus-${version}";
|
|
|
|
version = "0.16.575.639";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "psi-plus-snapshots";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0mn24y3y4qybw81rjy0hr46y7y96dvwdl6kk61kizwj32z1in8cg";
|
|
|
|
};
|
|
|
|
|
|
|
|
resources = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "resources";
|
|
|
|
rev = "8f5038380e1be884b04b5a1ad3cc3385e793f668";
|
|
|
|
sha256 = "1b8a2aixg966fzjwp9hz51rc31imyvpx014mp2fsm47k8na4470d";
|
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
cp -a "${resources}/iconsets" "$sourceRoot"
|
|
|
|
'';
|
|
|
|
|
2017-03-09 02:17:40 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_PLUGINS=ON"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-03-07 13:21:38 +00:00
|
|
|
|
2017-03-09 01:33:32 +00:00
|
|
|
buildInputs = [
|
2017-03-09 02:17:40 +00:00
|
|
|
qt5.qtbase qt5.qtmultimedia qt5.qtx11extras qt5.qttools qt5.qtwebkit
|
|
|
|
libidn qca2-qt5 libXScrnSaver hunspell
|
|
|
|
libgcrypt libotr html-tidy libgpgerror
|
2017-03-09 01:33:32 +00:00
|
|
|
];
|
2017-03-07 13:21:38 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "XMPP (Jabber) client";
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|