ark: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:25:46 -05:00
parent ab58794838
commit 425f9be1c8

View File

@ -1,7 +1,7 @@
{ {
kdeApp, lib, kdeApp, lib, kdeWrapper,
ecm, kdoctools, makeQtWrapper, ecm, kdoctools, makeWrapper,
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio, karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
kservice, kpty, kwidgetsaddons, libarchive, kservice, kpty, kwidgetsaddons, libarchive,
@ -10,10 +10,12 @@
p7zip, unrar, unzipNLS, zip p7zip, unrar, unzipNLS, zip
}: }:
kdeApp { let
unwrapped =
kdeApp {
name = "ark"; name = "ark";
nativeBuildInputs = [ nativeBuildInputs = [
ecm kdoctools makeQtWrapper ecm kdoctools makeWrapper
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
@ -25,11 +27,16 @@ kdeApp {
p7zip unrar unzipNLS zip p7zip unrar unzipNLS zip
]; ];
in '' in ''
wrapQtProgram "$out/bin/ark" \ wrapProgram "$out/bin/ark" \
--prefix PATH : "${PATH}" --prefix PATH : "${PATH}"
''; '';
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl3 ]; license = with lib.licenses; [ gpl2 lgpl3 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
};
in
kdeWrapper unwrapped
{
targets = [ "bin/ark" ];
} }