2020-01-03 21:28:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
|
|
|
|
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
|
2020-09-07 16:10:27 +01:00
|
|
|
, libidn, qca-qt5, libXScrnSaver, hunspell
|
2012-10-17 19:59:41 +01:00
|
|
|
}:
|
2009-06-03 19:23:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-01-03 21:28:40 +00:00
|
|
|
pname = "psi";
|
|
|
|
version = "1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-im";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "09c7cg96vgxzgbpypgcw7yv73gvzppbi1lm4svbpfn2cfxy059d4";
|
|
|
|
fetchSubmodules = true;
|
2009-06-03 19:23:49 +01:00
|
|
|
};
|
2020-01-03 21:28:40 +00:00
|
|
|
patches = [
|
|
|
|
./fix-cmake-hunspell-1.7.patch
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase qtmultimedia qtx11extras qttools qtwebengine
|
2020-09-07 16:10:27 +01:00
|
|
|
libidn qca-qt5 libXScrnSaver hunspell
|
2020-01-03 21:28:40 +00:00
|
|
|
];
|
2012-10-15 15:21:13 +01:00
|
|
|
enableParallelBuilding = true;
|
2018-09-04 08:41:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "An XMPP (Jabber) client";
|
2018-09-04 08:41:08 +01:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
license = licenses.gpl2;
|
2012-10-15 15:21:13 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-06-03 19:23:49 +01:00
|
|
|
};
|
|
|
|
}
|