2019-08-13 05:27:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub, mkDerivation
|
2017-02-26 12:49:15 +00:00
|
|
|
, cmake, extra-cmake-modules, qtquickcontrols, kconfigwidgets, kdeclarative, kdecoration }:
|
2016-12-18 17:49:29 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
mkDerivation {
|
2018-09-08 00:38:56 +01:00
|
|
|
name = "kdecoration-viewer-2018-07-24";
|
2016-12-18 17:49:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "kdecoration-viewer";
|
2018-09-08 00:38:56 +01:00
|
|
|
rev = "6e50b39c651bbf92fd7e7116d43bf57288254288";
|
|
|
|
sha256 = "01v6i081vx0mydqvnj05xli86m52v6bxxc3z1zlyyap9cfhag7lj";
|
2016-12-18 17:49:29 +00:00
|
|
|
};
|
|
|
|
|
2017-08-14 21:39:03 +01:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtquickcontrols kconfigwidgets kdeclarative kdecoration ];
|
2016-12-18 17:49:29 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|