Subject: [PATCH v4 1/2] gnu: Add python-ddlparse.

From: Giacomo Leidi <[email-masked]>
Date: Sun, 29 Oct 2023 13:07:23 +0100

* gnu/packages/python-xyz.scm (python-ddlparse): New variable.
---
 gnu/packages/python-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fad5d66af9..fd199535c8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -63,7 +63,7 @@
 ;;; Copyright © 2019, 2020 Alex Griffin <[email-masked]>
 ;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois <[email-masked]>
 ;;; Copyright © 2019 Jacob MacDonald <[email-masked]>
-;;; Copyright © 2019, 2020, 2021 Giacomo Leidi <[email-masked]>
+;;; Copyright © 2019-2021, 2023 Giacomo Leidi <[email-masked]>
 ;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
 ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <[email-masked]>
 ;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu <[email-masked]>
@@ -4881,6 +4881,30 @@ (define-public python-jsondiff
 compare, diff, and patch JSON and JSON-like structures in Python.")
    (license license:expat)))
 
+(define-public python-ddlparse
+  (package
+    (name "python-ddlparse")
+    (version "1.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ddlparse" version))
+       (sha256
+        (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-codecov
+           python-coveralls
+           python-pytest
+           python-pytest-cov
+           python-tox))
+    (propagated-inputs (list python-pyparsing))
+    (home-page "https://github.com/shinichi-takii/ddlparse")
+    (synopsis "Parses and converts DDL to BigQuery JSON schema")
+    (description "This package provides @{ddlparse}, a Python library to parse
+and convert DDL to BigQuery JSON schema.")
+    (license license:bsd-3)))
+
 (define-public python-jsonschema
   (package
     (name "python-jsonschema")

base-commit: 2b5c6e1a41e4ddcf4cfa53a319ed784a856eac5d
-- 
2.41.0