anchor.diff:  , ninja
   , udev
   , glib
  -, gobject-introspection
   , gnome
   , vala
  +, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
  +, gobject-introspection
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:     sha256 = "1al6nr492nzbm8ql02xhzwci2kwb1advnkaky3j9636jf08v41hd";
    };
  
    nativeBuildInputs = [
      pkg-config
      gobject-introspection
      meson
      ninja
      vala
    ];
  
    buildInputs = [
  
negative.code:   mesonFlags = [
      # There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
      "-Dtests=disabled"
      "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
    ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
      "-Dvapi=disabled"
    ];
  
  