26 pymongo3 = pymongo.overridePythonAttrs(old: rec {
31 sha256 = "sha256-ConK3ABipeU2ZN3gQ/bAlxcrjBxfAJRJAJUoL/mZWl8=";
34 in buildPythonPackage rec {
37 format = "setuptools";
39 disabled = pythonOlder "3.6";
41 src = fetchFromGitHub {
42 owner = "IdentityPython";
45 sha256 = "sha256-lnaizwbtBYdKx1puizah+UWsw54NVW6UhEw/eStl1WI=";
48 propagatedBuildInputs = [
58 ] ++ lib.optionals (pythonOlder "3.9") [
72 src = ./hardcode-xmlsec1-path.patch;
78 # fix failing tests on systems with 32bit time_t
79 sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
83 # Disabled tests try to access the network
84 "test_load_extern_incommon"
85 "test_load_remote_encoding"
90 pythonImportsCheck = [
95 description = "Python implementation of SAML Version 2 Standard";
96 homepage = "https://github.com/IdentityPython/pysaml2";
97 license = licenses.asl20;
98 maintainers = with maintainers; [ ];