anchor.diff:    };
   
     propagatedBuildInputs = [ lxml requests ];
  +
  +  # future is not used, and pathlib is installed part of python38+
  +  # w/o an external package
  +  prePatch = ''
  +    substituteInPlace setup.py \
  +      --replace "pathlib>=1.0" "" \
  +      --replace "future>=0.16" ""
  +  '';
   
     checkInputs = [ nose ];
     checkPhase = "nosetests pyxnat/tests";
  
positive.code: buildPythonPackage rec {
    pname = "pyxnat";
    version = "1.4";
    disabled = isPy27;
  
    src = fetchPypi {
      inherit pname version;
  
negative.code: { lib
  , buildPythonPackage
  , fetchPypi
  , pythonOlder
  , nose
  , lxml
  , requests
  