about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix
blob: 62b6c8f8e59c076fd283085da386d4692871f49c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, mkDerivation, fetchFromGitHub, cmake
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
, libidn, qca-qt5, libXScrnSaver, hunspell
}:

mkDerivation rec {
  pname = "psi";
  version = "1.5";
  src = fetchFromGitHub {
    owner = "psi-im";
    repo = pname;
    rev = version;
    sha256 = "hXDZODHl14kimRlMQ1XjISQ2kk9NS78axVN3U21wkuM=";
    fetchSubmodules = true;
  };
  patches = [
    ./fix-cmake-hunspell-1.7.patch
  ];
  nativeBuildInputs = [ cmake qttools ];
  buildInputs = [
    qtbase qtmultimedia qtx11extras qtwebengine
    libidn qca-qt5 libXScrnSaver hunspell
  ];

  meta = with lib; {
    homepage = "https://psi-im.org";
    description = "An XMPP (Jabber) client";
    maintainers = [ maintainers.raskin ];
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}