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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

81 lines
1.7 KiB
Nix
Raw Normal View History

2021-06-14 21:24:26 +00:00
{ mkDerivation
, lib
, fetchFromGitLab
, cmake
, extra-cmake-modules
, pkg-config
, qtquickcontrols2
, qtmultimedia
, qtlocation
, qqc2-desktop-style
2023-12-16 21:19:35 +00:00
, kirigami-addons
2021-06-14 21:24:26 +00:00
, kirigami2
2023-12-16 21:19:35 +00:00
, kio
2021-06-14 21:24:26 +00:00
, knotifications
2023-12-16 21:19:35 +00:00
, kquickimageedit
2021-06-14 21:24:26 +00:00
, zxing-cpp
, qxmpp
2022-04-06 11:56:09 +00:00
, sonnet
2021-06-14 21:24:26 +00:00
, gst_all_1
}:
mkDerivation rec {
pname = "kaidan";
2023-12-16 21:19:35 +00:00
version = "0.9.1";
2021-06-14 21:24:26 +00:00
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "network";
repo = pname;
rev = "v${version}";
2023-12-16 21:19:35 +00:00
hash = "sha256-F5GhN9hAF2e8b0T3peUnLk8CVd+nq4YR8k52x6ZOoLM=";
2021-06-14 21:24:26 +00:00
};
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
buildInputs = with gst_all_1; [
qtquickcontrols2
qtmultimedia
qtlocation
qqc2-desktop-style
2023-12-16 21:19:35 +00:00
kirigami-addons
2021-06-14 21:24:26 +00:00
kirigami2
2023-12-16 21:19:35 +00:00
kio
2021-06-14 21:24:26 +00:00
knotifications
2023-12-16 21:19:35 +00:00
kquickimageedit
2021-06-14 21:24:26 +00:00
zxing-cpp
qxmpp
2022-04-06 11:56:09 +00:00
sonnet
2021-06-14 21:24:26 +00:00
gstreamer
gst-plugins-bad
gst-plugins-base
gst-plugins-good
];
postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';
meta = with lib; {
description = "User-friendly and modern chat app, using XMPP";
mainProgram = "kaidan";
longDescription = ''
Kaidan is a user-friendly and modern chat app for every device. It uses
the open communication protocol XMPP (Jabber). Unlike other chat apps,
you are not dependent on one specific service provider.
Kaidan does not have all basic features yet and has still some
stability issues. Current features include audio messages, video
messages, and file sharing.
'';
2021-06-14 21:24:26 +00:00
homepage = "https://www.kaidan.im";
license = with licenses; [
gpl3Plus
mit
asl20
cc-by-sa-40
];
maintainers = with maintainers; [ astro ];
platforms = with platforms; linux;
};
}