nixpkgs-suyu/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 10:39:13 +02:00
, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
2017-03-07 14:21:38 +01:00
}:
mkDerivation rec {
pname = "psi-plus";
2020-08-16 07:35:38 +02:00
version = "1.4.1473";
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;
2020-08-16 07:35:38 +02:00
sha256 = "03f28zwbjn6fnsm0fqg8lmc11rpfdfvzjf7k7xydc3lzy8pxbds5";
2017-03-07 14:21:38 +01:00
};
2017-03-09 03:17:40 +01:00
cmakeFlags = [
"-DENABLE_PLUGINS=ON"
];
nativeBuildInputs = [ cmake qttools ];
2017-03-07 14:21:38 +01:00
2017-03-09 02:33:32 +01:00
buildInputs = [
qtbase qtmultimedia qtx11extras qtwebengine
libidn qca-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
meta = with lib; {
homepage = "https://sourceforge.net/projects/psiplus/";
2017-03-07 14:21:38 +01:00
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;
};
}