biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / kdeltachat / default.nix
blob955c20c2c6f65ed92b4a817327da2b0cc9906119
1 { lib
2 , mkDerivation
3 , fetchFromSourcehut
4 , cmake
5 , extra-cmake-modules
6 , pkg-config
7 , kirigami2
8 , libdeltachat
9 , qtbase
10 , qtimageformats
11 , qtmultimedia
12 , qtwebengine
15 mkDerivation rec {
16   pname = "kdeltachat";
17   version = "unstable-2024-01-14";
19   src = fetchFromSourcehut {
20     owner = "~link2xt";
21     repo = "kdeltachat";
22     rev = "d61a01c2d6d5bdcc9ca500b466ed42689b2bd5c6";
23     hash = "sha256-KmL3ODXPi1c8C5z2ySHg0vA5Vg/dZumDZTbpxkzf7A4=";
24   };
26   nativeBuildInputs = [
27     cmake
28     extra-cmake-modules
29     pkg-config
30   ];
32   buildInputs = [
33     kirigami2
34     libdeltachat
35     qtimageformats
36     qtmultimedia
37     qtwebengine
38   ];
40   # needed for qmlplugindump to work
41   QT_PLUGIN_PATH = "${qtbase.bin}/${qtbase.qtPluginPrefix}";
42   QML2_IMPORT_PATH = lib.concatMapStringsSep ":"
43     (lib: "${lib}/${qtbase.qtQmlPrefix}")
44     [ kirigami2 qtmultimedia ];
46   meta = with lib; {
47     description = "Delta Chat client using Kirigami framework";
48     mainProgram = "kdeltachat";
49     homepage = "https://git.sr.ht/~link2xt/kdeltachat";
50     license = licenses.gpl3Plus;
51     maintainers = with maintainers; [ dotlambda ];
52     platforms = platforms.linux;
53   };