anchor.diff:  , bluez
   , networkmanager
   , setuptools-scm
  +, runCommand
   }:
   
  -buildPythonPackage rec {
  +let
  +  # Cannot just add it to path in preCheck since that attribute will be passed to
  +  # mkDerivation even with doCheck = false, causing a dependency cycle.
  +  pbap-client = runCommand "pbap-client" { } ''
  +    mkdir -p "$out/bin"
  +    ln -s "${bluez.test}/test/pbap-client" "$out/bin/pbap-client"
  +  '';
  +in buildPythonPackage rec {
     pname = "python-dbusmock";
     version = "0.28.3";
   
  
positive.code:     # "test_networkmanager"
    ];
  
  
    checkPhase = ''
      runHook preCheck
      nosetests -v
  
negative.code:     dbus
      pygobject3
      bluez
      pbap-client
      networkmanager
      nose
    ];
  