3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/psi-plus/default.nix

49 lines
1.2 KiB
Nix
Raw Normal View History

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-10-05 12:28:35 +01:00
version = "1.3.422";
2017-03-07 13:21:38 +00:00
src = fetchFromGitHub {
owner = "psi-plus";
repo = "psi-plus-snapshots";
rev = "${version}";
2018-10-05 12:28:35 +01:00
sha256 = "193n3yvhp9m14irb49kg2rc4h7ypdmvidrgvv1i2n373iq751z05";
2017-03-07 13:21:38 +00:00
};
resources = fetchFromGitHub {
owner = "psi-plus";
repo = "resources";
2018-09-04 09:39:13 +01:00
rev = "c0bfb8a025eeec82cd0a23a559e0aa3da15c3ec3";
sha256 = "1q7v01w085vk7ml6gwis7j409w6f5cplpm7c0ajs4i93c4j53xdf";
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;
};
}