kcalc: use kdeWrapper
This commit is contained in:
parent
f66b4ca61d
commit
6db7ef73b6
@ -1,20 +1,21 @@
|
||||
{
|
||||
kdeApp, lib, makeQtWrapper, kdoctools,
|
||||
ecm, kconfig, kconfigwidgets, kguiaddons, kinit,
|
||||
knotifications, gmp
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kcalc";
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
|
||||
propagatedBuildInputs = [
|
||||
gmp kconfig kconfigwidgets kguiaddons kinit knotifications
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kcalc"
|
||||
'';
|
||||
}
|
||||
let
|
||||
unwrapped =
|
||||
kdeApp {
|
||||
name = "kcalc";
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
gmp kconfig kconfigwidgets kguiaddons kinit knotifications
|
||||
];
|
||||
};
|
||||
in
|
||||
kdeWrapper unwrapped { targets = [ "bin/kcalc" ]; }
|
||||
|
Loading…
Reference in New Issue
Block a user