summary refs log tree commit diff
path: root/pkgs/applications/editors/kile/default.nix
blob: ad3300b9221f10971da9cb42182fc1e59cf88a75 (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
{ kdeDerivation
, lib
, fetchgit
, ecm
, kdoctools
, kdeWrapper
, qtscript
, kconfig
, kcrash
, kdbusaddons
, kdelibs4support
, kguiaddons
, kiconthemes
, kinit
, khtml
, konsole
, kparts
, ktexteditor
, kwindowsystem
, poppler
}:

let
  unwrapped =
    kdeDerivation rec {
      name = "kile-${version}";
      version = "2017-02-09";

      src = fetchgit {
        url = git://anongit.kde.org/kile.git;
        rev = "f77f6e627487c152f111e307ad6dc71699ade746";
        sha256 = "0wpqaix9ssa28cm7qqjj0zfrscjgk8s3kmi5b4kk8h583gsrikib";

      };

      nativeBuildInputs = [ ecm kdoctools ];

      buildInputs = [
        kconfig
        kcrash
        kdbusaddons
        kdelibs4support
        kdoctools
        kguiaddons
        kiconthemes
        kinit
        khtml
        kparts
        ktexteditor
        kwindowsystem
        poppler
        qtscript
      ];

      meta = {
        description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
        homepage = https://www.kde.org/applications/office/kile/;
        maintainers = with lib.maintainers; [ fridh ];
        license = lib.licenses.gpl2Plus;
      };
    };
in
kdeWrapper
{
  inherit unwrapped;
  targets = [ "bin/kile" ];
  paths = [ konsole.unwrapped ];
}