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

16 lines
346 B
Nix
Raw Normal View History

{ mkDerivation
, extra-cmake-modules
, qtbase, qtdeclarative
}:
mkDerivation {
name = "bluez-qt";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtdeclarative ];
propagatedBuildInputs = [ qtbase ];
preConfigure = ''
substituteInPlace CMakeLists.txt \
--replace /lib/udev/rules.d "$bin/lib/udev/rules.d"
'';
}