diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix b/nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix new file mode 100644 index 000000000000..62b6c8f8e59c --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix @@ -0,0 +1,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; + }; +} |