2017-03-09 02:17:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake
|
|
|
|
, qt5, libidn, qca2-qt5, 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 {
|
|
|
|
name = "psi-plus-${version}";
|
2018-12-25 23:53:00 +00:00
|
|
|
version = "1.4.504";
|
2017-03-07 13:21:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "psi-plus-snapshots";
|
|
|
|
rev = "${version}";
|
2018-12-25 23:53:00 +00:00
|
|
|
sha256 = "1nv1ynad2gcn7r8mm2w3kixmahaql7xax1lccsqyxqmj1r0klk8q";
|
2017-03-07 13:21:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
resources = fetchFromGitHub {
|
|
|
|
owner = "psi-plus";
|
|
|
|
repo = "resources";
|
2018-11-09 18:28:19 +00:00
|
|
|
rev = "d623f57db35eb5af81ccdf69b2cbe1c437190f29";
|
|
|
|
sha256 = "024cyazyxka5vcbjrkkw32c5zw6aa70n50fdp6zh5v5c51d9ci8k";
|
2017-03-07 13:21:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
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
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "XMPP (Jabber) client";
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
2018-09-04 08:41:08 +01:00
|
|
|
license = licenses.gpl2;
|
2017-03-07 13:21:38 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|