27 buildPythonPackage rec {
32 disabled = pythonOlder "3.9";
34 src = fetchFromGitHub {
35 owner = "IdentityPython";
37 rev = "refs/tags/v${version}";
38 hash = "sha256-M/tdKGu6K38TeBZc8/dt376bHhPB0svHB3iis/se0DY=";
43 src = ./hardcode-xmlsec1-path.patch;
49 # Fix failing tests on systems with 32bit time_t
50 sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
62 propagatedBuildInputs = [
73 passthru.optional-dependencies = {
89 # Disabled tests try to access the network
90 "test_load_extern_incommon"
91 "test_load_remote_encoding"
96 pythonImportsCheck = [
101 description = "Python implementation of SAML Version 2 Standard";
102 homepage = "https://github.com/IdentityPython/pysaml2";
103 changelog = "https://github.com/IdentityPython/pysaml2/blob/v${version}/CHANGELOG.md";
104 license = licenses.asl20;
105 maintainers = with maintainers; [ ];