summary refs log tree commit diff
path: root/pkgs/applications/kde-apps-15.08/ark.nix
blob: 36a1ca7cfbd71af71c018aa428bb3ba05bc075a1 (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
{ kdeApp
, lib
, extra-cmake-modules
, kdoctools
, karchive
, kconfig
, kcrash
, kdbusaddons
, ki18n
, kiconthemes
, khtml
, kio
, kservice
, kpty
, kwidgetsaddons
, libarchive
, p7zip
, unrar
, unzipNLS
, zip
}:

let PATH = lib.makeSearchPath "bin" [
      p7zip unrar unzipNLS zip
    ];
in

kdeApp {
  name = "ark";
  nativeBuildInputs = [
    extra-cmake-modules
    kdoctools
  ];
  buildInputs = [
    karchive
    kconfig
    kcrash
    kdbusaddons
    kiconthemes
    kservice
    kpty
    kwidgetsaddons
    libarchive
  ];
  propagatedBuildInputs = [
    khtml
    ki18n
    kio
  ];
  postInstall = ''
    wrapQtProgram "$out/bin/ark" \
        --prefix PATH : "${PATH}"
  '';
  meta = {
    license = with lib.licenses; [ gpl2 lgpl3 ];
    maintainers = [ lib.maintainers.ttuegel ];
  };
}