1 { lib, fetchFromGitHub, buildPythonPackage, isPy3k,
2 isodate, lxml, xmlsec, freezegun }:
4 buildPythonPackage rec {
5 pname = "python3-saml";
9 src = fetchFromGitHub {
11 repo = "python3-saml";
13 sha256 = "sha256-TAfVXh1fSKhNn/lsi7elq4wFyKCxCtCYUTrnH3ytBTw=";
17 substituteInPlace setup.py \
18 --replace "lxml<4.7.1" "lxml<5"
21 propagatedBuildInputs = [
25 checkInputs = [ freezegun ];
26 pythonImportsCheck = [ "onelogin.saml2" ];
29 description = "OneLogin's SAML Python Toolkit for Python 3";
30 homepage = "https://github.com/onelogin/python3-saml";
31 license = licenses.mit;
32 maintainers = with maintainers; [ zhaofengli ];