@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub
2+, cmake, ecm, qtquickcontrols, kconfigwidgets, kdeclarative, kdecoration }:
3+
4+stdenv.mkDerivation rec {
5+ name = "kdecoration-viewer-2015-08-20";
6+
7+ src = fetchFromGitHub {
8+ owner = "KDE";
9+ repo = "kdecoration-viewer";
10+ rev = "d7174acee01475fbdb71cfd48ca49d487a141701";
11+ sha256 = "1cc4xxv72a82p1w9r76090xba7g069r41bi4zx32k4gz3vyl1am6";
12+ };
13+
14+ buildInputs = [ cmake ecm qtquickcontrols kconfigwidgets kdeclarative kdecoration ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Allows to preview a KDecoration plugin";
18+ longDescription = ''
19+ kdecoration-viewer allows to preview a KDecoration plugin. Put your plugins under
20+ $QT_PLUGIN_PATH/org.kde.kdecoration2 to preview.
21+ '';
22+ homepage = https://blog.martin-graesslin.com/blog/2014/07/kdecoration2-the-road-ahead/;
23+ license = licenses.gpl2;
24+ maintainers = [ maintainers.gnidorah ];
25+ platforms = platforms.linux;
26+ };
27+}