anchor.diff:  { lib
   , buildPythonPackage
   , fetchPypi
  -, pytest
  +, pytestCheckHook
   , boto3
   , six
   , pyyaml
   , mock
  +, pythonOlder
   }:
   
   buildPythonPackage rec {
     pname = "serverlessrepo";
     version = "0.1.10";
  +  format = "setuptools";
  +
  +  disabled = pythonOlder "3.7";
   
     src = fetchPypi {
       inherit pname version;
  
positive.code:       A Python library with convenience helpers for working with the
        AWS Serverless Application Repository.
      '';
      license = lib.licenses.asl20;
      maintainers = with maintainers; [ dhkl ];
    };
  }
  
negative.code:     pyyaml
    ];
  
    checkInputs = [
      pytestCheckHook
      mock
    ];
  
    postPatch = ''
      substituteInPlace setup.py \
        --replace "pyyaml~=5.1" "pyyaml" \
        --replace "boto3~=1.9, >=1.9.56" "boto3"
    '';
  
    pytestFlagsArray = [
      "tests/unit"
    ];
  
    pythonImportsCheck = [
      "serverlessrepo"
    ];
  
    meta = with lib; {
      homepage = "https://github.com/awslabs/aws-serverlessrepo-python";
  