2017-05-15 17:05:35 +00:00
|
|
|
{
|
2021-04-03 10:58:22 +00:00
|
|
|
mkDerivation, propagate,
|
2017-05-15 17:05:35 +00:00
|
|
|
extra-cmake-modules, kcoreaddons, polkit-qt, qttools
|
|
|
|
}:
|
2016-04-21 15:32:21 +00:00
|
|
|
|
2017-05-15 17:05:35 +00:00
|
|
|
mkDerivation {
|
2016-04-21 15:32:21 +00:00
|
|
|
name = "kauth";
|
2017-05-22 18:49:07 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ polkit-qt qttools ];
|
|
|
|
propagatedBuildInputs = [ kcoreaddons ];
|
2020-08-25 09:43:59 +00:00
|
|
|
patches = [
|
|
|
|
./cmake-install-paths.patch
|
|
|
|
];
|
2017-05-22 18:49:07 +00: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 15:32:21 +00:00
|
|
|
}
|