summary refs log tree commit diff
path: root/pkgs/tools/misc/kdecoration-viewer/default.nix
blob: 33ccf28cb0da8a5b5472b226805d164571d934c7 (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
{ stdenv, fetchFromGitHub
, cmake, extra-cmake-modules, qtquickcontrols, kconfigwidgets, kdeclarative, kdecoration }:

stdenv.mkDerivation rec {
  name = "kdecoration-viewer-2015-08-20";

  src = fetchFromGitHub {
    owner = "KDE";
    repo = "kdecoration-viewer";
    rev = "d7174acee01475fbdb71cfd48ca49d487a141701";
    sha256 = "1cc4xxv72a82p1w9r76090xba7g069r41bi4zx32k4gz3vyl1am6";
  };

  buildInputs = [ cmake extra-cmake-modules qtquickcontrols kconfigwidgets kdeclarative kdecoration ];

  meta = with stdenv.lib; {
    description = "Allows to preview a KDecoration plugin";
    longDescription = ''
      kdecoration-viewer allows to preview a KDecoration plugin. Put your plugins under
      $QT_PLUGIN_PATH/org.kde.kdecoration2 to preview.
    '';
    homepage = https://blog.martin-graesslin.com/blog/2014/07/kdecoration2-the-road-ahead/;
    license = licenses.gpl2;
    maintainers = [ maintainers.gnidorah ];
    platforms = platforms.linux;
  };
}