anchor.diff:  
     preBuild = ''
       # Workaround for https://github.com/google/protobuf/issues/2895
  -    ${python.interpreter} setup.py build
  +    ${python.pythonForBuild.interpreter} setup.py build
     '' + optionalString (versionAtLeast protobuf.version "2.6.0") ''
  -    ${python.interpreter} setup.py build_ext --cpp_implementation
  +    ${python.pythonForBuild.interpreter} setup.py build_ext --cpp_implementation
     '';
   
     installFlags = optional (versionAtLeast protobuf.version "2.6.0")
  
positive.code:     ++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98"
    );
  
    propagatedBuildInputs = [ google_apputils ];
    propagatedNativeBuildInputs = [ protobuf ];  # For protoc.
    nativeBuildInputs = [ google_apputils pyext ];
    buildInputs = [ protobuf ];
  
  
negative.code: { buildPackages, stdenv, fetchpatch, python, buildPythonPackage, isPy37
  , protobuf, google_apputils, pyext, libcxx, isPy27
  , disabled, doCheck ? true }:
  
  with stdenv.lib;
  
  buildPythonPackage {
    inherit (protobuf) pname src version;
    inherit disabled;
    doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2
  
  