anchor.diff:        --prefix GI_TYPELIB_PATH : "$out/lib/girepository-1.0:${libsoup}/lib/girepository-1.0"
     '';
   
  -  enableParallelBuilding = true;
     meta = with stdenv.lib; {
       homepage = https://fwupd.org/;
       maintainers = with maintainers; [];
  
positive.code: 
    patches = [
      ./fix-missing-deps.patch
      # https://github.com/hughsie/fwupd/issues/403
      (fetchpatch {
        url = https://github.com/hughsie/fwupd/commit/bd6082574989e4f48b66c7270bb408d439b77a06.patch;
        sha256 = "17pixyizkmn6wlsjmr1wwya17ivn770hdv9mp769vifxinya8w9y";
      })
      # drop docbook2man
      (fetchpatch {
        url = https://github.com/hughsie/fwupd/commit/2c43d3e6e65868b66a9a64a76123697e259ec7c2.patch;
        sha256 = "0vjv7jnai0g96frlipk2sc59pj3mhq9di01hajycjv7y5v6qqrmc";
      })
      # https://github.com/hughsie/fwupd/issues/405
      (fetchpatch {
        url = https://github.com/hughsie/fwupd/pull/407.patch;
        sha256 = "1dxhqps12x7bz0s974xk5hfpk4nwn1gs29vl0dfi9j54wy18f688";
      })
    ];
  
  
negative.code: , shared_mime_info, umockdev
  }:
  let
    version = "1.0.5";
    python = python3.withPackages (p: with p; [ pygobject3 pycairo pillow ]);
    installedTestsPython = python3.withPackages (p: with p; [ pygobject3 requests ]);
  in stdenv.mkDerivation {
    name = "fwupd-${version}";
    src = fetchurl {
      url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
      sha256 = "0wm195vkf6x1kg1dz0sbfwpdcn9f6638l7vyzplcfrb3v07pqxpq";
    };
  
    outputs = [ "out" "devdoc" "man" "installedTests" ];
  