nixpkgs/pkgs/applications/kde/kcalc.nix
2017-06-18 08:42:20 -05:00

25 lines
562 B
Nix

{
mkDerivation, lib, kdeWrapper,
extra-cmake-modules, kdoctools,
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
}:
let
unwrapped =
mkDerivation {
name = "kcalc";
meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.fridh ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [
gmp kconfig kconfigwidgets kguiaddons kinit knotifications
];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kcalc" ];
}