3
0
Fork 0
forked from mirrors/nixpkgs

spectacle: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:40:00 -05:00
parent 4e5dfd0d2a
commit 551f26fc71

View file

@ -1,20 +1,20 @@
{
kdeApp, lib, ecm, kdoctools, makeQtWrapper,
kdeApp, lib, kdeWrapper,
ecm, kdoctools,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, knotifications,
kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, xcb-util-cursor
}:
kdeApp {
name = "spectacle";
meta = with lib; {
maintainers = with maintainers; [ ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
propagatedBuildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
];
postInstall = ''
wrapQtProgram "$out/bin/spectacle"
'';
}
let
unwrapped =
kdeApp {
name = "spectacle";
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
];
};
in
kdeWrapper unwrapped { targets = [ "bin/spectacle" ]; }