nixpkgs/pkgs/applications/networking/instant-messengers/psi-plus/default.nix

50 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
, 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 {
pname = "psi-plus";
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;
sha256 = "1nii2nfi37i6mn79xmygscmm8ax75ky244wxkzlga0ya8i8wfjh7";
2017-03-07 14:21:38 +01:00
};
resources = fetchFromGitHub {
owner = "psi-plus";
repo = "resources";
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"
];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
2017-03-07 14:21:38 +01:00
2017-03-09 02:33:32 +01:00
buildInputs = [
qtbase qtmultimedia qtx11extras qttools qtwebengine
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";
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;
};
}