summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/konversation/default.nix
blob: 6f4bc2af79f263deefb5bb1dc3648ccf5521aab8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{ kdeDerivation
, lib
, fetchurl
, extra-cmake-modules
, kbookmarks
, karchive
, kconfig
, kconfigwidgets
, kcoreaddons
, kdbusaddons
, kdeWrapper
, kdoctools
, kemoticons
, kglobalaccel
, ki18n
, kiconthemes
, kidletime
, kitemviews
, knotifications
, knotifyconfig
, kio
, kparts
, kwallet
, makeQtWrapper
, solid
, sonnet
, phonon
}:

let
  unwrapped = let
    pname = "konversation";
    version = "1.6.2";
  in kdeDerivation rec {
    name = "${pname}-${version}";

    src = fetchurl {
      url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
      sha256 = "1798sslwz7a3h1v524ra33p0j5iqvcg0v1insyvb5qp4kv11slmn";
    };

    buildInputs = [
      kbookmarks
      karchive
      kconfig
      kconfigwidgets
      kcoreaddons
      kdbusaddons
      kdoctools
      kemoticons
      kglobalaccel
      ki18n
      kiconthemes
      kidletime
      kitemviews
      knotifications
      knotifyconfig
      kio
      kparts
      kwallet
      solid
      sonnet
      phonon
    ];

    nativeBuildInputs = [
      extra-cmake-modules
      kdoctools
    ];

    meta = {
      description = "Integrated IRC client for KDE";
      license = with lib.licenses; [ gpl2 ];
      maintainers = with lib.maintainers; [ fridh ];
      homepage = https://konversation.kde.org;
    };
  };
in kdeWrapper {
  inherit unwrapped;
  targets = [ "bin/konversation" ];
}