1 { mkDerivation, lib, extra-cmake-modules, kdoctools
2 , breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n
3 , kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons
8 , unfreeEnableUnrar ? false, unrar
12 extraTools = [ p7zip lrzip unar ] ++ lib.optional unfreeEnableUnrar unrar;
18 outputs = [ "out" "dev" ];
20 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
22 buildInputs = [ libarchive libzip ] ++ extraTools;
24 propagatedBuildInputs = [
25 breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio
26 kitemmodels kparts kpty kservice kwidgetsaddons
29 qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ];
32 homepage = "https://apps.kde.org/ark/";
33 description = "Graphical file compression/decompression utility";
34 license = with licenses; [ gpl2 lgpl3 ] ++ optional unfreeEnableUnrar unfree;
35 maintainers = [ maintainers.ttuegel ];