2020-11-05 18:20:57 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake
|
2020-01-03 21:28:40 +00:00
|
|
|
, 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
|
|
|
}:
|
2020-11-05 18:20:57 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
2020-01-03 21:28:40 +00:00
|
|
|
pname = "psi";
|
2020-11-05 18:20:57 +00:00
|
|
|
version = "1.5";
|
2020-01-03 21:28:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psi-im";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-05 18:20:57 +00:00
|
|
|
sha256 = "hXDZODHl14kimRlMQ1XjISQ2kk9NS78axVN3U21wkuM=";
|
2020-01-03 21:28:40 +00:00
|
|
|
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
|
|
|
|
];
|
2020-11-05 18:20:57 +00:00
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
2020-01-03 21:28:40 +00:00
|
|
|
buildInputs = [
|
2020-11-05 18:20:57 +00:00
|
|
|
qtbase qtmultimedia qtx11extras qtwebengine
|
2020-09-07 16:10:27 +01:00
|
|
|
libidn qca-qt5 libXScrnSaver hunspell
|
2020-01-03 21:28:40 +00:00
|
|
|
];
|
2020-11-05 18:20:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://psi-im.org";
|
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;
|
2020-11-05 18:20:57 +00:00
|
|
|
platforms = platforms.linux;
|
2009-06-03 19:23:49 +01:00
|
|
|
};
|
|
|
|
}
|