nixpkgs/pkgs/development/libraries/kde-frameworks/kio/default.nix
2022-02-23 18:28:27 +01:00

31 lines
1.0 KiB
Nix

{
stdenv, lib, mkDerivation, fetchpatch,
extra-cmake-modules, kdoctools, qttools,
acl, attr, libkrb5, util-linux,
karchive, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
kdbusaddons, ki18n, kiconthemes, kitemviews, kjobwidgets, knotifications,
kservice, ktextwidgets, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui,
qtbase, qtscript, qtx11extras, solid, kcrash, kded
}:
mkDerivation {
pname = "kio";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
karchive kconfigwidgets kdbusaddons ki18n kiconthemes knotifications
ktextwidgets kwallet kwidgetsaddons kwindowsystem qtscript qtx11extras
kcrash libkrb5
] ++ lib.lists.optionals stdenv.isLinux [
acl attr # both are needed for ACL support
util-linux # provides libmount
];
propagatedBuildInputs = [
kbookmarks kcompletion kconfig kcoreaddons kitemviews kjobwidgets kservice
kxmlgui qtbase qttools solid kded
];
outputs = [ "out" "dev" ];
patches = [
./0001-Remove-impure-smbd-search-path.patch
];
}