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

38 lines
995 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchFromGitHub, cmake
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
, libidn, qca-qt5, libsecret, 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
}:
mkDerivation rec {
pname = "psi-plus";
2020-08-16 06:35:38 +01:00
version = "1.4.1473";
2017-03-07 13:21:38 +00:00
src = fetchFromGitHub {
owner = "psi-plus";
repo = "psi-plus-snapshots";
2019-09-09 00:38:31 +01:00
rev = version;
2020-08-16 06:35:38 +01:00
sha256 = "03f28zwbjn6fnsm0fqg8lmc11rpfdfvzjf7k7xydc3lzy8pxbds5";
2017-03-07 13:21:38 +00:00
};
2017-03-09 02:17:40 +00:00
cmakeFlags = [
"-DENABLE_PLUGINS=ON"
];
nativeBuildInputs = [ cmake qttools ];
2017-03-07 13:21:38 +00:00
2017-03-09 01:33:32 +00:00
buildInputs = [
qtbase qtmultimedia qtx11extras qtwebengine
libidn qca-qt5 libsecret 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
meta = with lib; {
homepage = "https://sourceforge.net/projects/psiplus/";
2017-03-07 13:21:38 +00:00
description = "XMPP (Jabber) client";
maintainers = with maintainers; [ orivej misuzu ];
2018-09-04 08:41:08 +01:00
license = licenses.gpl2;
2017-03-07 13:21:38 +00:00
platforms = platforms.linux;
};
}