2020-01-13 11:59:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
|
2019-10-13 23:08:39 +01:00
|
|
|
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
|
2020-01-13 11:59:40 +00:00
|
|
|
, libidn, qca2-qt5, libsecret, libXScrnSaver, hunspell
|
2018-09-04 09:39:13 +01:00
|
|
|
, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
|
2017-03-07 13:21:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "psi-plus";
|
2020-05-23 15:07:01 +01:00
|
|
|
version = "1.4.1231";
|
2017-03-07 13:21:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "psi-plus-snapshots";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-05-23 15:07:01 +01:00
|
|
|
sha256 = "0m5p8is8nk3g0cbwiq73cff9nn2y09fcnh1pzc6rlqqhmz1acg4i";
|
2017-03-07 13:21:38 +00:00
|
|
|
};
|
|
|
|
|
2017-03-09 02:17:40 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_PLUGINS=ON"
|
|
|
|
];
|
|
|
|
|
2020-01-13 11:59:40 +00:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2017-03-07 13:21:38 +00:00
|
|
|
|
2017-03-09 01:33:32 +00:00
|
|
|
buildInputs = [
|
2019-10-13 23:08:39 +01:00
|
|
|
qtbase qtmultimedia qtx11extras qttools qtwebengine
|
2020-01-13 11:59:40 +00:00
|
|
|
libidn qca2-qt5 libsecret libXScrnSaver hunspell
|
2018-09-04 09:39:13 +01:00
|
|
|
libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
|
2017-03-09 01:33:32 +00:00
|
|
|
];
|
2017-03-07 13:21:38 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "XMPP (Jabber) client";
|
2020-01-13 11:59:40 +00:00
|
|
|
maintainers = with maintainers; [ orivej misuzu ];
|
2018-09-04 08:41:08 +01:00
|
|
|
license = licenses.gpl2;
|
2017-03-07 13:21:38 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|