mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 23:07:36 +03:00
19 lines
452 B
Nix
19 lines
452 B
Nix
{ mkDerivation, lib
|
|
, extra-cmake-modules
|
|
, qtbase, qtdeclarative
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "bluez-qt";
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
broken = builtins.compareVersions qtbase.version "5.6.0" < 0;
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
propagatedBuildInputs = [ qtdeclarative ];
|
|
preConfigure = ''
|
|
substituteInPlace CMakeLists.txt \
|
|
--replace /lib/udev/rules.d "$out/lib/udev/rules.d"
|
|
'';
|
|
}
|