nixpkgs/pkgs/applications/kde/ark/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.0 KiB
Nix
Raw Normal View History

2021-11-13 22:28:25 +00:00
{ mkDerivation, lib, extra-cmake-modules, kdoctools
2021-03-06 04:14:34 +00:00
, breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n
, kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons
, libarchive, libzip
# Archive tools
, p7zip, lrzip, unar
2021-03-06 04:14:34 +00:00
# Unfree tools
, unfreeEnableUnrar ? false, unrar
2016-07-15 14:59:21 +00:00
}:
let
extraTools = [ p7zip lrzip unar ] ++ lib.optional unfreeEnableUnrar unrar;
in
2017-05-16 15:56:41 +00:00
mkDerivation {
2020-12-24 23:05:07 +00:00
pname = "ark";
outputs = [ "out" "dev" ];
2021-03-06 04:14:34 +00:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
2021-03-06 04:14:34 +00:00
buildInputs = [ libarchive libzip ] ++ extraTools;
2021-03-06 04:14:34 +00:00
propagatedBuildInputs = [
breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio
kitemmodels kparts kpty kservice kwidgetsaddons
];
qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ];
2021-03-06 04:14:34 +00:00
meta = with lib; {
homepage = "https://apps.kde.org/ark/";
2021-03-06 04:14:34 +00:00
description = "Graphical file compression/decompression utility";
license = with licenses; [ gpl2 lgpl3 ] ++ optional unfreeEnableUnrar unfree;
maintainers = [ maintainers.ttuegel ];
};
}