2017-05-15 18:05:35 +01:00
|
|
|
{
|
2020-08-25 10:43:59 +01:00
|
|
|
mkDerivation, lib, propagate,
|
2017-05-15 18:05:35 +01:00
|
|
|
extra-cmake-modules, kcoreaddons, polkit-qt, qttools
|
|
|
|
}:
|
2016-04-21 16:32:21 +01:00
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "kauth";
|
2016-04-28 16:48:55 +01:00
|
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
2017-05-22 19:49:07 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ polkit-qt qttools ];
|
|
|
|
propagatedBuildInputs = [ kcoreaddons ];
|
2020-08-25 10:43:59 +01:00
|
|
|
patches = [
|
|
|
|
./cmake-install-paths.patch
|
|
|
|
];
|
2017-05-22 19:49:07 +01:00
|
|
|
# library stores reference to plugin path,
|
|
|
|
# separating $out from $bin would create a reference cycle
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
setupHook = propagate "out";
|
2016-04-21 16:32:21 +01:00
|
|
|
}
|