mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
09fd4270d7
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>
68 lines
1.1 KiB
Nix
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;
|
|
};
|
|
}
|