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

50 lines
1.2 KiB
Nix
Raw Normal View History

2017-03-08 18:17:40 -08:00
{ stdenv, fetchFromGitHub, cmake
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
, libidn, qca2-qt5, qtkeychain, libXScrnSaver, hunspell
2018-09-04 01:39:13 -07:00
, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
2017-03-07 05:21:38 -08:00
}:
stdenv.mkDerivation rec {
pname = "psi-plus";
version = "1.4.904";
2017-03-07 05:21:38 -08:00
src = fetchFromGitHub {
owner = "psi-plus";
repo = "psi-plus-snapshots";
2019-09-08 16:38:31 -07:00
rev = version;
sha256 = "1bs7yk3qp91sm8nb9gna8vm59381afn1wfs7aii9yi29bhx6fw9h";
2017-03-07 05:21:38 -08:00
};
resources = fetchFromGitHub {
owner = "psi-plus";
repo = "resources";
rev = "182c92ca0bcc055579d8c91bccba9efe157e77a9";
sha256 = "06k7q63cxpifpzjnlw1snclkr2mwf9fh71cgfd40n7jgzswzwhpb";
2017-03-07 05:21:38 -08:00
};
postUnpack = ''
cp -a "${resources}/iconsets" "$sourceRoot"
'';
2017-03-08 18:17:40 -08:00
cmakeFlags = [
"-DENABLE_PLUGINS=ON"
];
nativeBuildInputs = [ cmake ];
2017-03-07 05:21:38 -08:00
2017-03-08 17:33:32 -08:00
buildInputs = [
qtbase qtmultimedia qtx11extras qttools qtwebengine
libidn qca2-qt5 qtkeychain libXScrnSaver hunspell
2018-09-04 01:39:13 -07:00
libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
2017-03-08 17:33:32 -08:00
];
2017-03-07 05:21:38 -08:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "XMPP (Jabber) client";
maintainers = with maintainers; [ orivej ];
2018-09-04 00:41:08 -07:00
license = licenses.gpl2;
2017-03-07 05:21:38 -08:00
platforms = platforms.linux;
};
}