anchor.diff:        ln -s ../test/$a $test/bin/bluez-$a
       done
       popd
  -    wrapPythonProgramsIn $test/test "$test/test $pythonPath"
  -
  +    wrapPythonProgramsIn $test/test "$test/test ${toString pythonPath}"
  +  '' + ''
       # for bluez4 compatibility for NixOS
       mkdir $out/sbin
       ln -s ../libexec/bluetooth/bluetoothd $out/sbin/bluetoothd
  
positive.code:     python3.pkgs.wrapPython
    ];
  
    outputs = [ "out" "dev" "test" ];
  
    postPatch = ''
      substituteInPlace tools/hid2hci.rules \
  
negative.code: , readline
  , systemd
  , udev
  }: let
    pythonPath = with python3.pkgs; [
      dbus-python
      pygobject3
      recursivePthLoader
    ];
  in stdenv.mkDerivation rec {
    pname = "bluez";
    version = "5.54";
  
  