nixpkgs/pkgs/desktops/kde-5/applications-15.12/kcalc.nix
2016-03-09 06:49:44 -06:00

40 lines
510 B
Nix

{ kdeApp
, lib
, makeQtWrapper
, extra-cmake-modules
, gmp
, kdoctools
, kconfig
, kconfigwidgets
, kguiaddons
, kinit
, knotifications
}:
kdeApp {
name = "kcalc";
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
gmp
kconfig
kconfigwidgets
kguiaddons
kinit
knotifications
];
postInstall = ''
wrapQtProgram "$out/bin/kcalc"
'';
meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.fridh ];
};
}