diff --git a/pkgs/tools/misc/kdecoration-viewer/default.nix b/pkgs/tools/misc/kdecoration-viewer/default.nix new file mode 100644 index 00000000000..c32a814f232 --- /dev/null +++ b/pkgs/tools/misc/kdecoration-viewer/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub +, cmake, ecm, 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 ecm 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a505e4eef2c..44e375547df 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13552,6 +13552,8 @@ in kdeconnect = qt5.callPackage ../applications/misc/kdeconnect { }; + kdecoration-viewer = kde5.callPackage ../tools/misc/kdecoration-viewer {}; + kdevelop-pg-qt = kde5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix {}; kdevelop = kde5.callPackage ../applications/editors/kdevelop5/kdevelop.nix {