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

34 lines
839 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, cmake
2020-01-03 21:28:40 +00:00
, qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine
, libidn, qca-qt5, libXScrnSaver, hunspell
2012-10-17 19:59:41 +01:00
}:
mkDerivation rec {
2020-01-03 21:28:40 +00:00
pname = "psi";
version = "1.5";
2020-01-03 21:28:40 +00:00
src = fetchFromGitHub {
owner = "psi-im";
repo = pname;
rev = version;
sha256 = "hXDZODHl14kimRlMQ1XjISQ2kk9NS78axVN3U21wkuM=";
2020-01-03 21:28:40 +00:00
fetchSubmodules = true;
};
2020-01-03 21:28:40 +00:00
patches = [
./fix-cmake-hunspell-1.7.patch
];
nativeBuildInputs = [ cmake qttools ];
2020-01-03 21:28:40 +00:00
buildInputs = [
qtbase qtmultimedia qtx11extras qtwebengine
libidn qca-qt5 libXScrnSaver hunspell
2020-01-03 21:28:40 +00:00
];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://psi-im.org";
description = "An XMPP (Jabber) client";
2018-09-04 08:41:08 +01:00
maintainers = [ maintainers.raskin ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}