2015-09-29 23:54:51 +02:00
|
|
|
{ kdeApp
|
2015-09-27 17:03:46 +02:00
|
|
|
, lib
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kdoctools
|
|
|
|
, karchive
|
|
|
|
, kconfig
|
|
|
|
, kcrash
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
|
|
|
, kiconthemes
|
|
|
|
, khtml
|
|
|
|
, kio
|
|
|
|
, kservice
|
|
|
|
, kpty
|
|
|
|
, kwidgetsaddons
|
|
|
|
, libarchive
|
2015-10-27 17:46:44 +01:00
|
|
|
, p7zip
|
|
|
|
, unrar
|
|
|
|
, unzipNLS
|
|
|
|
, zip
|
2015-09-27 17:03:46 +02:00
|
|
|
}:
|
|
|
|
|
2015-10-27 17:46:44 +01:00
|
|
|
let PATH = lib.makeSearchPath "bin" [
|
|
|
|
p7zip unrar unzipNLS zip
|
|
|
|
];
|
|
|
|
in
|
|
|
|
|
2015-09-29 23:54:51 +02:00
|
|
|
kdeApp {
|
2015-09-27 17:03:46 +02:00
|
|
|
name = "ark";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
karchive
|
|
|
|
kconfig
|
|
|
|
kcrash
|
|
|
|
kdbusaddons
|
|
|
|
kiconthemes
|
|
|
|
kservice
|
|
|
|
kpty
|
|
|
|
kwidgetsaddons
|
|
|
|
libarchive
|
|
|
|
];
|
2015-10-10 18:31:23 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
khtml
|
2015-10-10 18:50:36 +02:00
|
|
|
ki18n
|
2015-10-10 19:29:20 +02:00
|
|
|
kio
|
2015-10-10 18:31:23 +02:00
|
|
|
];
|
2015-10-27 17:46:44 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/ark" \
|
|
|
|
--prefix PATH : "${PATH}"
|
|
|
|
'';
|
2015-09-27 17:03:46 +02:00
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 lgpl3 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
|
|
|
}
|