anchor.diff:      rev = "v${version}";
       sha256 = "sha256-3Yl6j6KAlw7QQYnwU7+naY6D97IqX766zguekKAuic8=";
     };
  -
  -  patches = [
  -    (substituteAll {
  -      src = ./hardcode-xmlsec1-path.patch;
  -      inherit xmlsec;
  -    })
  -  ];
  -
  -  postPatch = ''
  -    # fix failing tests on systems with 32bit time_t
  -    sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
  -  '';
   
     propagatedBuildInputs = [
       cryptography
  
positive.code:     mock
      pyasn1
      pymongo
      pytest
      responses
    ];
  
    # Disabled tests try to access the network
    checkPhase = ''
      py.test -k "not test_load_extern_incommon \
              and not test_load_remote_encoding \
              and not test_load_external \
              and not test_conf_syslog"
    '';
  
    meta = with lib; {
      description = "Python implementation of SAML Version 2 Standard";
  
negative.code: { lib
  , buildPythonPackage
  , cryptography
  , defusedxml
  , fetchFromGitHub
  , importlib-resources
  , mock
  , pyasn1
  , pymongo
  , pyopenssl
  , pytestCheckHook
  , python-dateutil
  , pythonOlder
  , pytz
  , requests
  , responses
  , six
  , substituteAll
  , xmlschema
  , xmlsec
  }:
  
  buildPythonPackage rec {
  