anchor.diff:  { stdenv
   , fetchurl
   , pkgconfig
  +, meson
  +, ninja
   , gettext
   , gnupg
   , p11-kit
  
positive.code: , vala
  , gnome3
  , python3
  }:
  
  stdenv.mkDerivation rec {
    pname = "gcr";
    version = "3.34.0";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9";
    };
  
    postPatch = ''
      patchShebangs build/ gcr/fixtures/
    '';
  
    outputs = [ "out" "dev" ];
  
    configureFlags = [ "--with-libgcrypt-prefix=${stdenv.lib.getDev libgcrypt}" ];
  
    nativeBuildInputs = [
      pkgconfig
      gettext
      gobject-introspection
      libxslt
      makeWrapper
      vala
    ];
  
    buildInputs = [
  
negative.code: 
    checkInputs = [
      python3
    ];
  
    mesonFlags = [
      "-Dgtk_doc=false"
    ];
  
    doCheck = false; # fails 21 out of 603 tests, needs dbus daemon
  