about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/kaidan
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2021-06-14 23:24:26 +0200
committerAstro <astro@spaceboyz.net>2021-06-14 23:36:46 +0200
commitd3ea241c7d816c66ae4371ba65b60d888814f934 (patch)
treef9467bdb134c615a3085ae1e2075099a15d8ed89 /pkgs/applications/networking/instant-messengers/kaidan
parentafb3f23075f60d510507a9c23382c0f4931ad956 (diff)
kaidan: init at 0.8.0
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/kaidan')
-rw-r--r--pkgs/applications/networking/instant-messengers/kaidan/default.nix62
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/kaidan/default.nix b/pkgs/applications/networking/instant-messengers/kaidan/default.nix
new file mode 100644
index 0000000000000..74449ae705e37
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/kaidan/default.nix
@@ -0,0 +1,62 @@
+{ mkDerivation
+, lib
+, fetchFromGitLab
+, cmake
+, extra-cmake-modules
+, pkg-config
+, qtquickcontrols2
+, qtmultimedia
+, qtlocation
+, qqc2-desktop-style
+, kirigami2
+, knotifications
+, zxing-cpp
+, qxmpp
+, gst_all_1
+}:
+
+mkDerivation rec {
+  pname = "kaidan";
+  version = "0.8.0";
+
+  src = fetchFromGitLab {
+    domain = "invent.kde.org";
+    owner = "network";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "070njci5zyzahmz3nqyp660chxnqx1mxp31w17syfllvrw403qmg";
+  };
+
+  nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
+
+  buildInputs = with gst_all_1; [
+    qtquickcontrols2
+    qtmultimedia
+    qtlocation
+    qqc2-desktop-style
+    kirigami2
+    knotifications
+    zxing-cpp
+    qxmpp
+    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";
+    homepage = "https://www.kaidan.im";
+    license = with licenses; [
+      gpl3Plus
+      mit
+      asl20
+      cc-by-sa-40
+    ];
+    maintainers = with maintainers; [ astro ];
+    platforms = with platforms; linux;
+  };
+}