nixpkgs/pkgs/applications/editors/kile/default.nix
Doron Behar 09fd4270d7 kile: some slight improvements/fixes
Use `buildInputs` instead of `propagatedBuildInputs` - should reduce
closure size a bit. Don't wrap executables twice. Move `kdoctools` to
native. Use libsForQt5 - default version (works).

Co-authored-by: Frederik Rietdijk <fridh@fridh.nl>
2020-10-30 20:39:19 +02:00

68 lines
1.1 KiB
Nix

{ mkDerivation
, lib
, fetchurl
, extra-cmake-modules
, kdoctools
, wrapGAppsHook
, qtscript
, kconfig
, kcrash
, kdbusaddons
, kdelibs4support
, kguiaddons
, kiconthemes
, kinit
, khtml
, konsole
, kparts
, ktexteditor
, kwindowsystem
, okular
, poppler
}:
mkDerivation rec {
name = "kile-2.9.93";
src = fetchurl {
url = "mirror://sourceforge/kile/${name}.tar.bz2";
sha256 = "BEmSEv/LJPs6aCkUmnyuTGrV15WYXwgIANbfcviMXfA=";
};
nativeBuildInputs = [
extra-cmake-modules
wrapGAppsHook
kdoctools
];
buildInputs = [
kconfig
kcrash
kdbusaddons
kdelibs4support
kguiaddons
kiconthemes
kinit
khtml
kparts
ktexteditor
kwindowsystem
okular
poppler
qtscript
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
propagatedUserEnvPkgs = [ konsole ];
meta = {
description = "User-friendly TeX/LaTeX authoring tool for the KDE desktop environment";
homepage = "https://www.kde.org/applications/office/kile/";
maintainers = with lib.maintainers; [ fridh ];
license = lib.licenses.gpl2Plus;
};
}