16 buildPythonPackage rec {
22 inherit pname version;
23 sha256 = "sha256-kW9deOgEH2zZORq7plnajJSk/vcZbRJtQK8f9Bfyz4Y=";
26 nativeBuildInputs = [ pkg-config pkgconfig setuptools-scm ];
28 buildInputs = [ xmlsec libxslt libxml2 libtool ];
30 propagatedBuildInputs = [ lxml ];
32 checkInputs = [ pytestCheckHook hypothesis ];
35 # Full git clone required for test_doc_examples
36 "tests/test_doc_examples.py"
37 # test_reinitialize_module segfaults python
38 # https://github.com/mehcode/python-xmlsec/issues/203
39 "tests/test_xmlsec.py"
42 pythonImportsCheck = [ "xmlsec" ];
45 description = "Python bindings for the XML Security Library";
46 homepage = "https://github.com/mehcode/python-xmlsec";
47 license = licenses.mit;
48 maintainers = with maintainers; [ zhaofengli ];