anchor.diff:      libimobiledevice
     ];
   
  +  checkInputs = [
  +    python3.pkgs.dbus-python
  +    python3.pkgs.python-dbusmock
  +    python3.pkgs.pygobject3
  +    dbus
  +    umockdev
  +    libeatmydata
  +    python3.pkgs.packaging
  +  ];
  +
     propagatedBuildInputs = [
       glib
     ];
  
positive.code:     "-Dgtk-doc=${lib.boolToString withDocs}"
    ];
  
    doCheck = false; # fails with "env: './linux/integration-test': No such file or directory"
  
    postPatch = ''
      patchShebangs src/linux/unittest_inspector.py
    '';
  
    postInstall = ''
  
negative.code:     sha256 = "gpLsBh4jgiDO8bxic2BTFhjIwc2q/tuAIxykTHqK6UM=";
    };
  
    patches = [
      # Fix test
      # https://gitlab.freedesktop.org/upower/upower/-/merge_requests/150
      (fetchpatch {
        url = "https://gitlab.freedesktop.org/upower/upower/-/commit/a78ee6039054770b466749f8ec4bfbe4c278d697.patch";
        sha256 = "aUPXnr/2PlOZNb7mQl43hmKe01DtuBUrGnqvwBFRf7Q=";
      })
    ];
  
    strictDeps = true;
  
    depsBuildBuild = [
  