diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-28 15:36:41 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-06-13 00:04:35 +0200 |
commit | 05eabb625776d2efed53c09868a4874940524c15 (patch) | |
tree | d6a0dfeb8fda3d3ab4a9fd789a8a9a49cbe2418f | |
parent | f14decb08615a735ee2192eae73d80a26fa4d6ee (diff) |
battering: Add python-xsdata.
* battering/packages/python-xyz.scm (python-xsdata): New variable.
-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))) |