17 buildPythonPackage rec {
22 inherit pname version;
23 sha256 = "1c4k42zv3plm6v65p7z6l5rxyf50h40d02nhc16vq7cjrfvdf4rx";
26 # https://github.com/mehcode/python-xmlsec/issues/84#issuecomment-632930116
28 ./reset-lxml-in-tests.patch
31 nativeBuildInputs = [ pkg-config pkgconfig setuptools-scm toml ];
33 buildInputs = [ xmlsec libxslt libxml2 libtool ];
35 propagatedBuildInputs = [ lxml ];
37 # Full git clone required for test_doc_examples
38 checkInputs = [ pytestCheckHook hypothesis ];
39 disabledTestPaths = [ "tests/test_doc_examples.py" ];
42 description = "Python bindings for the XML Security Library";
43 homepage = "https://github.com/mehcode/python-xmlsec";
44 license = licenses.mit;
45 maintainers = with maintainers; [ zhaofengli ];