nixpkgs/pkgs/tools/misc/kdecoration-viewer/default.nix

29 lines
995 B
Nix
Raw Normal View History

2016-12-18 17:49:29 +00:00
{ stdenv, fetchFromGitHub
, cmake, extra-cmake-modules, qtquickcontrols, kconfigwidgets, kdeclarative, kdecoration }:
2016-12-18 17:49:29 +00:00
stdenv.mkDerivation rec {
name = "kdecoration-viewer-2018-07-24";
2016-12-18 17:49:29 +00:00
src = fetchFromGitHub {
owner = "KDE";
repo = "kdecoration-viewer";
rev = "6e50b39c651bbf92fd7e7116d43bf57288254288";
sha256 = "01v6i081vx0mydqvnj05xli86m52v6bxxc3z1zlyyap9cfhag7lj";
2016-12-18 17:49:29 +00: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;
};
}