nixpkgs/pkgs/desktops/kde-5/applications/kcalc.nix
Thomas Tuegel 422ee37e52 kde5.applications: 16.04.2 -> 16.04.3
- Update from Applications 16.04.2 to 16.04.3.
- Remove the version number from the directory storing the Applications
  Nix expressions. It is not necessary to version the Nix expressions
  now that we keep only one version in Nixpkgs.
- Fix a bug in generate-kde-applications.sh which prevented it from
  finding its helper script.
- Automatically redirect the output of generate-kde-applications.sh to
  make the update script even easier to use.
2016-07-13 13:54:52 -05:00

31 lines
496 B
Nix

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