nixpkgs/pkgs/development/libraries/applet-window-buttons/default.nix
Alyssa Ross 3ffe9fed00
libsForQt5.applet-window-buttons: 0.9.0 -> 0.10.1
This fixes the build, which was previously failing with:

	In file included from /build/source/build/libappletdecoration/appletdecorationplugin_autogen/EWIEGA46WW/moc_previewbridge.cpp:10,
	                 from /build/source/build/libappletdecoration/appletdecorationplugin_autogen/mocs_compilation.cpp:9:
	/build/source/build/libappletdecoration/appletdecorationplugin_autogen/EWIEGA46WW/../../../../libappletdecoration/previewbridge.h:53:10: error: 'void Decoration::Applet::PreviewBridge::update(KDecoration2::Decoration*, const QRect&)' marked 'override', but does not override
	   53 |     void update(KDecoration2::Decoration *decoration, const QRect &geometry) override;
	      |          ^~~~~~
2021-11-05 21:56:20 +00:00

42 lines
818 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, kcoreaddons
, kdeclarative
, kdecoration
, plasma-framework
}:
mkDerivation rec {
pname = "applet-window-buttons";
version = "0.10.1";
src = fetchFromGitHub {
owner = "psifidotos";
repo = "applet-window-buttons";
rev = version;
sha256 = "18h2g3jqzr88wkmws2iz71sgrz633zwkqvhn32sdi32sxxbrksgd";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
kcoreaddons
kdeclarative
kdecoration
plasma-framework
];
meta = with lib; {
description = "Plasma 5 applet in order to show window buttons in your panels";
homepage = "https://github.com/psifidotos/applet-window-buttons";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dotlambda ];
};
}