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

29 lines
1,000 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, mkDerivation
, cmake, extra-cmake-modules, qtquickcontrols, kconfigwidgets, kdeclarative, kdecoration }:
2016-12-18 18:49:29 +01:00
2019-08-13 23:52:01 +02:00
mkDerivation {
name = "kdecoration-viewer-2018-07-24";
2016-12-18 18:49:29 +01:00
src = fetchFromGitHub {
owner = "KDE";
repo = "kdecoration-viewer";
rev = "6e50b39c651bbf92fd7e7116d43bf57288254288";
sha256 = "01v6i081vx0mydqvnj05xli86m52v6bxxc3z1zlyyap9cfhag7lj";
2016-12-18 18:49:29 +01:00
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ qtquickcontrols kconfigwidgets kdeclarative kdecoration ];
2016-12-18 18:49:29 +01: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/";
2016-12-18 18:49:29 +01:00
license = licenses.gpl2;
maintainers = [ maintainers.gnidorah ];
platforms = platforms.linux;
};
}