2020-01-13 12:59:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
|
2019-10-14 00:08:39 +02:00
|
|
|
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
|
2020-01-13 12:59:40 +01:00
|
|
|
, libidn, qca2-qt5, libsecret, libXScrnSaver, hunspell
|
2018-09-04 10:39:13 +02:00
|
|
|
, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
|
2017-03-07 14:21:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "psi-plus";
|
2020-01-13 12:59:40 +01:00
|
|
|
version = "1.4.984";
|
2017-03-07 14:21:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "psi-plus-snapshots";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2020-01-13 12:59:40 +01:00
|
|
|
sha256 = "1nii2nfi37i6mn79xmygscmm8ax75ky244wxkzlga0ya8i8wfjh7";
|
2017-03-07 14:21:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
resources = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "resources";
|
2020-01-13 12:59:40 +01:00
|
|
|
rev = "2f1c12564f7506bf902a26040fdb47ead4df6b73";
|
|
|
|
sha256 = "1dgm9k052fq7f2bpx13kchg7sxb227dkn115lyspzvhnhprnypz2";
|
2017-03-07 14:21:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
cp -a "${resources}/iconsets" "$sourceRoot"
|
|
|
|
'';
|
|
|
|
|
2017-03-09 03:17:40 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_PLUGINS=ON"
|
|
|
|
];
|
|
|
|
|
2020-01-13 12:59:40 +01:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2017-03-07 14:21:38 +01:00
|
|
|
|
2017-03-09 02:33:32 +01:00
|
|
|
buildInputs = [
|
2019-10-14 00:08:39 +02:00
|
|
|
qtbase qtmultimedia qtx11extras qttools qtwebengine
|
2020-01-13 12:59:40 +01:00
|
|
|
libidn qca2-qt5 libsecret libXScrnSaver hunspell
|
2018-09-04 10:39:13 +02:00
|
|
|
libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
|
2017-03-09 02:33:32 +01:00
|
|
|
];
|
2017-03-07 14:21:38 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "XMPP (Jabber) client";
|
2020-01-13 12:59:40 +01:00
|
|
|
maintainers = with maintainers; [ orivej misuzu ];
|
2018-09-04 09:41:08 +02:00
|
|
|
license = licenses.gpl2;
|
2017-03-07 14:21:38 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|