anchor.diff:              list-devices \
               monitor-bluetooth \
               ; do
  -      cp $a $out/bin/bluez-$a
  -      wrapProgram $out/bin/bluez-$a --prefix PYTHONPATH : ${pythonpath}
  +      ln -s ../test/$a $out/bin/bluez-$a
       done
       popd
  +    wrapPythonProgramsIn $out/test "$out/test $pythonPath"
     '';
   
     meta = {
  
positive.code:   # FIXME: Move these into a separate package to prevent Bluez from
    # depending on Python etc.
    postInstall = ''
      pushd test
      for a in \
              simple-agent \
              test-adapter \
  
negative.code:     sha256 = "1l33lq1lpg7hy26138ir5dj4gl3mql2qxpj20rjnnwyckc3jk700";
    };
  
    pythonPath = with pythonPackages;
      [ pythonDBus pygobject3 recursivePthLoader ];
  
    buildInputs =
      [ pkgconfig dbus.libs glib libusb alsaLib python pythonPackages.wrapPython
        readline libsndfile udev libical
        # Disables GStreamer; not clear what it gains us other than a
        # zillion extra dependencies.
  