about summary refs log tree commit diff
path: root/pkgs/applications/misc/yakuake/3.0.nix
blob: f3aff480914ae1c95cffd541fc107fb2fe0dafaa (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
{ stdenv
, lib
, fetchurl
, cmake
, extra-cmake-modules
, karchive
, kcrash
, kdbusaddons
, ki18n
, kiconthemes
, knewstuff
, knotifications
, knotifyconfig
, konsole
, kparts
, kwindowsystem
, makeQtWrapper

}:

let
  pname = "yakuake";
  version = "3.0.2";
in
stdenv.mkDerivation rec {
  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
    sha256 = "0vcdji1k8d3pz7k6lkw8ighkj94zff2l2cf9v1avf83f4hjyfhg5";
  };

  buildInputs = [
    cmake
    extra-cmake-modules
    karchive
    kcrash
    kdbusaddons
    ki18n
    kiconthemes
    knewstuff
    knotifications
    knotifyconfig
    kparts
    kwindowsystem
  ];

  nativeBuildInputs = [
    extra-cmake-modules
    makeQtWrapper
  ];

  propagatedUserEnvPkgs = [
    konsole
  ];

  postInstall = ''
    wrapQtProgram "$out/bin/yakuake"
  '';

  meta = {
    homepage = https://yakuake.kde.org;
    description = "Quad-style terminal emulator for KDE";
    maintainers = with lib.maintainers; [ fridh ];
  };
}