2015-11-21 21:08:42 +01:00
|
|
|
{ kdeApp
|
|
|
|
, lib
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kdoctools
|
|
|
|
, karchive
|
|
|
|
, kconfig
|
|
|
|
, kcrash
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
|
|
|
, kiconthemes
|
|
|
|
, khtml
|
|
|
|
, kio
|
|
|
|
, kservice
|
|
|
|
, kpty
|
|
|
|
, kwidgetsaddons
|
|
|
|
, libarchive
|
|
|
|
, p7zip
|
|
|
|
, unrar
|
|
|
|
, unzipNLS
|
|
|
|
, zip
|
|
|
|
}:
|
|
|
|
|
2016-04-13 14:53:51 +02:00
|
|
|
let PATH = lib.makeBinPath [
|
2015-11-21 21:08:42 +01:00
|
|
|
p7zip unrar unzipNLS zip
|
|
|
|
];
|
|
|
|
in
|
|
|
|
|
|
|
|
kdeApp {
|
|
|
|
name = "ark";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
karchive
|
|
|
|
kconfig
|
|
|
|
kcrash
|
|
|
|
kdbusaddons
|
|
|
|
kiconthemes
|
|
|
|
kservice
|
|
|
|
kpty
|
|
|
|
kwidgetsaddons
|
|
|
|
libarchive
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
khtml
|
|
|
|
ki18n
|
|
|
|
kio
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/ark" \
|
|
|
|
--prefix PATH : "${PATH}"
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 lgpl3 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
|
|
|
}
|