anchor.diff:      ./fix-includedir.patch
     ];
   
  -  disabled = isPyPy;
  -
  -  preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then ''
  +  preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) ''
       MACOSX_DEPLOYMENT_TARGET=10.16
  -  '' else null;
  +  '';
   
     configureFlags = [
       "PYTHON=${python.pythonForBuild.interpreter}"
  
positive.code: buildPythonPackage rec {
    pname = "dbus-python";
    version = "1.2.18";
    format = "other";
  
    outputs = [ "out" "dev" ];
  
    src = fetchPypi {
  
negative.code:   doCheck = isPy3k;
    checkInputs = [ dbus.out pygobject3 ];
  
    meta = with lib; {
      description = "Python DBus bindings";
      license = licenses.mit;
      platforms = dbus.meta.platforms;
      maintainers = with maintainers; [ ];
    };
  }
  