2017-05-15 17:05:35 +00:00
|
|
|
{ mkDerivation, lib
|
2017-02-26 12:49:15 +00:00
|
|
|
, extra-cmake-modules
|
2017-02-28 13:41:16 +00:00
|
|
|
, qtbase, qtdeclarative
|
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 = "bluez-qt";
|
2017-02-28 13:41:16 +00:00
|
|
|
meta = {
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
2017-08-23 10:13:43 +00:00
|
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" < 0;
|
2017-02-28 13:41:16 +00:00
|
|
|
};
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-22 18:49:07 +00:00
|
|
|
buildInputs = [ qtdeclarative ];
|
|
|
|
propagatedBuildInputs = [ qtbase ];
|
2016-04-21 15:32:21 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
2017-05-22 18:49:07 +00:00
|
|
|
--replace /lib/udev/rules.d "$bin/lib/udev/rules.d"
|
2016-04-21 15:32:21 +00:00
|
|
|
'';
|
|
|
|
}
|