anchor.diff:  { stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan
   , file, which, ncurses
  -, autoreconfHook, fetchpatch
  -, git
   , texinfo
   , buildPackages
   , qtbase ? null
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "gpgme-${version}";
    version = "1.12.0";
  
    src = fetchurl {
      url = "mirror://gnupg/gpgme/${name}.tar.bz2";
      sha256 = "1n4c1q2ls7sqx1vpr3p5n8vbjkw6kqp8jxqa28p0x9j36wf9bp5l";
    };
  
    outputs = [ "out" "dev" "info" ];
  
negative.code:     [ libgpgerror glib libassuan pth ]
      ++ lib.optional (qtbase != null) qtbase;
  
    nativeBuildInputs = [ file pkgconfig gnupg texinfo ]
    ++ lib.optionals pythonSupport [ python swig2 which ncurses ];
  
    depsBuildBuild = [ buildPackages.stdenv.cc ];
  
    postPatch =''
      substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
  