anchor.diff:  , xmltodict
   , parameterized
   , idna
  +, nose
  +, pytestCheckHook
   }:
   
   buildPythonPackage rec {
     pname = "moto";
  -  version = "1.3.14";
  +  version = "1.3.16";
   
     src = fetchPypi {
       inherit pname version;
  -    sha256 = "0fm09074qic24h8rw9a0paklygyb7xd0ch4890y4v8lj2pnsxbkr";
  +    sha256 = "0zy0prsyip264i6h03lxsn1qg1n3dc8c4iyfawckjqvm24gnns3c";
     };
   
     postPatch = ''
       substituteInPlace setup.py \
  -      --replace "jsondiff==1.1.2" "jsondiff~=1.1"
  -    sed -i '/datetime/d' setup.py # should be taken care of by std library
  +      --replace "ecdsa<0.15" "ecdsa"
     '';
   
     patches = [
  -    # loosen idna upper limit
  +    # Remove dependence on boto. The boto library  (long ago superseded by boto3)
  +    # has not had an official release in over two years or even a commit in the
  +    # last 18 months. These patches should be included in the next moto release
  +    # after 1.3.16
       (fetchpatch {
  -      url = "https://github.com/spulec/moto/commit/649b497f71cce95a6474a3ff6f3c9c3339efb68f.patch";
  -      sha256 = "03qdybzlskgbdadmlcg6ayxfp821b5iaa8q2542cwkcq7msqbbqc";
  +      url = "https://github.com/spulec/moto/pull/3503/commits/ae85c539fd57034c4d5cfd0f95af41ff19862dd1.patch";
  +      sha256 = "16hr2py6q701d8ih6zcvs3lbanshpbk15ixckgdqngjf160k5m9p";
  +      excludes = ["tests/test_ec2/test_ec2_cloudformation.py"];
  +    })
  +    (fetchpatch {
  +      url = "https://github.com/spulec/moto/pull/3468/commits/6ee39bd7fda4d3623569e10dcd9561bf2cd1d0bd.patch";
  +      sha256 = "10m3xdqxgys7spav9mkbhcn4z0124rlprwxnw6ysb10610xlna0i";
       })
     ];
   
     propagatedBuildInputs = [
       aws-xray-sdk
  -    boto
       boto3
       botocore
       cfn-lint
  
positive.code: { lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
  , aws-xray-sdk
  , backports_tempfile
  , boto
  , boto3
  , botocore
  , cfn-lint
  
negative.code: , jinja2
  , jsondiff
  , mock
  , pyaml
  , python-jose
  , pytz
  