diff options
Diffstat (limited to 'battering/packages/python-xyz.scm')
-rw-r--r-- | battering/packages/python-xyz.scm | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index d3fa0fc..848d619 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -426,3 +426,53 @@ between tokens.") (description "This package automatically formats docstrings to follow a subset of the PEP 257 conventions") (license license:expat))) + +(define-public python-xsdata + (package + (name "python-xsdata") + (version "24.12") + (source + (origin + (method url-fetch) + (uri (pypi-uri "xsdata" version)) + (sha256 + (base32 "1d00laim53pz8sinh9lf978cpbgqnkvcsa3c9w32rs5x5c1nrhb7")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-typing-extensions + python-click + python-click-default-group + python-docformatter + python-jinja2 + python-toposort + python-lxml + python-requests)) + (native-inputs (list python-pytest + python-pytest-benchmark + python-pytest-cov + python-setuptools + python-wheel)) + ;; TODO: enable these tests when ruff is packaged in Guix + (arguments + `(#:test-flags + (list "-k" (string-append + "not " (string-join + '("test_ruff_code_with_invalid_code" + "test_annotations" + "test_xml_documents" + "test_books_schema" + "test_wsdl_codegen" + "test_generate_restructured_docstrings" + "test_generate_numpy_docstrings" + "test_generate_google_docstrings" + "test_generate_accessible_docstrings" + "test_generate_blank_docstrings" + "test_dtd_documents" + "test_primer_schema" + "test_json_documents") + " and not "))))) + (home-page "https://xsdata.readthedocs.io/") + (synopsis "Naive XML Bindings for python") + (description "This is a data binding library for Python allowing +developers to access and use XML and JSON documents as simple objects rather +than using DOM.") + (license license:expat))) |