mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
3ffe9fed00
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; | ^~~~~~
42 lines
818 B
Nix
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 ];
|
|
};
|
|
}
|