nixpkgs/pkgs/applications/kde-apps-15.08/ark.nix

59 lines
802 B
Nix
Raw Normal View History

{ 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
, p7zip
, unrar
, unzipNLS
, zip
2015-09-27 17:03:46 +02:00
}:
let PATH = lib.makeSearchPath "bin" [
p7zip unrar unzipNLS zip
];
in
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
];
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 ];
};
}