2017-05-15 10:05:35 -07:00
|
|
|
{ mkDerivation, lib
|
2017-02-26 04:49:15 -08:00
|
|
|
, extra-cmake-modules
|
2017-02-28 05:41:16 -08:00
|
|
|
, qtbase, qtdeclarative
|
2016-04-21 08:32:21 -07:00
|
|
|
}:
|
|
|
|
|
2017-05-15 10:05:35 -07:00
|
|
|
mkDerivation {
|
2016-04-21 08:32:21 -07:00
|
|
|
name = "bluez-qt";
|
2017-02-28 05:41:16 -08:00
|
|
|
meta = {
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
broken = builtins.compareVersions qtbase.version "5.6.0" < 0;
|
|
|
|
};
|
2017-02-26 04:49:15 -08:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2016-04-28 08:46:55 -07:00
|
|
|
propagatedBuildInputs = [ qtdeclarative ];
|
2016-04-21 08:32:21 -07:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace /lib/udev/rules.d "$out/lib/udev/rules.d"
|
|
|
|
'';
|
|
|
|
}
|