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