26 lines
550 B
Nix
26 lines
550 B
Nix
{ kdeFramework, lib
|
|
, extra-cmake-modules
|
|
, karchive
|
|
, kconfig
|
|
, kcoreaddons
|
|
, kdoctools
|
|
, ki18n
|
|
, makeKDEWrapper
|
|
}:
|
|
|
|
kdeFramework {
|
|
name = "kpackage";
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ];
|
|
buildInputs = [ karchive kconfig ];
|
|
propagatedBuildInputs = [ kcoreaddons ki18n ];
|
|
patches = [
|
|
./0001-allow-external-paths.patch
|
|
./0002-qdiriterator-follow-symlinks.patch
|
|
];
|
|
postInstall = ''
|
|
wrapKDEProgram "$out/bin/kpackagetool5"
|
|
'';
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
};
|
|
}
|