nixpkgs-suyu/pkgs/development/libraries/kde-frameworks/bluez-qt.nix
Thomas Tuegel faf0d3e91d
kdeFrameworks: fixup inputs and outputs
- Reduce environment pollution with a separate $bin output containing programs,
  plugins, and shared data. Libraries remain in $out and are not installed into
  the environment.
- Only propagate build inputs as required.
2017-06-18 08:44:45 -05:00

19 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.6.0" < 0;
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtdeclarative ];
propagatedBuildInputs = [ qtbase ];
preConfigure = ''
substituteInPlace CMakeLists.txt \
--replace /lib/udev/rules.d "$bin/lib/udev/rules.d"
'';
}