nixpkgs/pkgs/development/python-modules/xmlsec/default.nix
Martin Weinelt de5afa889c python3Packages.xmlsec: 1.3.16 -> 1.3.17
https://github.com/xmlsec/python-xmlsec/releases/tag/1.3.17

This commit was automatically generated using update-python-libraries.
2026-02-01 17:40:50 +01:00

67 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hypothesis,
libtool,
libxml2,
libxslt,
lxml,
pkg-config,
pkgconfig,
pytestCheckHook,
setuptools-scm,
xmlsec,
}:
buildPythonPackage rec {
pname = "xmlsec";
version = "1.3.17";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-8/rJrmefZlhZJcwAxfaDmuNsHQMVdhlXHe4YrMBbnAE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==" "setuptools>="
'';
build-system = [ setuptools-scm ];
nativeBuildInputs = [
pkg-config
pkgconfig
];
buildInputs = [
xmlsec
libxslt
libxml2
libtool
];
propagatedBuildInputs = [ lxml ];
nativeCheckInputs = [
pytestCheckHook
hypothesis
];
disabledTestPaths = [
# Full git clone required for test_doc_examples
"tests/test_doc_examples.py"
];
pythonImportsCheck = [ "xmlsec" ];
meta = {
description = "Python bindings for the XML Security Library";
homepage = "https://github.com/mehcode/python-xmlsec";
changelog = "https://github.com/xmlsec/python-xmlsec/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zhaofengli ];
};
}