ark: format
This commit is contained in:
parent
80a09a477f
commit
2505c4ebc2
|
@ -1,18 +1,12 @@
|
||||||
{
|
{ mkDerivation, lib, config
|
||||||
mkDerivation, lib, config,
|
, extra-cmake-modules, kdoctools
|
||||||
|
, breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n
|
||||||
extra-cmake-modules, kdoctools,
|
, kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons
|
||||||
|
, libarchive, libzip
|
||||||
breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n,
|
# Archive tools
|
||||||
kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons,
|
, p7zip, lrzip
|
||||||
|
# Unfree tools
|
||||||
libarchive, libzip,
|
, unfreeEnableUnrar ? false, unrar
|
||||||
|
|
||||||
# Archive tools
|
|
||||||
p7zip, lrzip,
|
|
||||||
|
|
||||||
# Unfree tools
|
|
||||||
unfreeEnableUnrar ? false, unrar,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -21,20 +15,23 @@ in
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "ark";
|
pname = "ark";
|
||||||
meta = {
|
|
||||||
description = "Graphical file compression/decompression utility";
|
|
||||||
license = with lib.licenses;
|
|
||||||
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
|
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
|
|
||||||
buildInputs = [ libarchive libzip ] ++ extraTools;
|
buildInputs = [ libarchive libzip ] ++ extraTools;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio
|
breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio
|
||||||
kitemmodels kparts kpty kservice kwidgetsaddons
|
kitemmodels kparts kpty kservice kwidgetsaddons
|
||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ];
|
qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Graphical file compression/decompression utility";
|
||||||
|
license = with licenses; [ gpl2 lgpl3 ] ++ optional unfreeEnableUnrar unfree;
|
||||||
|
maintainers = [ maintainers.ttuegel ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue