anchor.diff:      # "test_networkmanager"
     ];
   
  -
     checkPhase = ''
       runHook preCheck
       nosetests -v
  
positive.code:     dbus
      pygobject3
      bluez
      (lib.getOutput "test" bluez)
      networkmanager
      nose
    ];
  
negative.code: , bluez
  , networkmanager
  , setuptools-scm
  , runCommand
  }:
  
  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";
  
  