mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
20 lines
480 B
Nix
20 lines
480 B
Nix
{ mkDerivation, lib
|
|
, extra-cmake-modules
|
|
, qtbase, qtdeclarative
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "bluez-qt";
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" < 0;
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ qtdeclarative ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
preConfigure = ''
|
|
substituteInPlace CMakeLists.txt \
|
|
--replace /lib/udev/rules.d "$bin/lib/udev/rules.d"
|
|
'';
|
|
}
|