nixpkgs-suyu/pkgs/development/libraries/kde-frameworks/bluez-qt.nix

20 lines
480 B
Nix
Raw Normal View History

{ mkDerivation, lib
, extra-cmake-modules
2017-02-28 14:41:16 +01:00
, qtbase, qtdeclarative
2016-04-21 17:32:21 +02:00
}:
mkDerivation {
2016-04-21 17:32:21 +02:00
name = "bluez-qt";
2017-02-28 14:41:16 +01:00
meta = {
maintainers = [ lib.maintainers.ttuegel ];
broken = builtins.compareVersions qtbase.version "5.7.0" < 0;
2017-02-28 14:41:16 +01:00
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtdeclarative ];
propagatedBuildInputs = [ qtbase ];
2016-04-21 17:32:21 +02:00
preConfigure = ''
substituteInPlace CMakeLists.txt \
--replace /lib/udev/rules.d "$bin/lib/udev/rules.d"
2016-04-21 17:32:21 +02:00
'';
}