Subject: [PATCH v2 1/7] gnu: Add python-click-default-group-wheel.

From: Felix Gruber <[email-masked]>
Date: Fri, 17 Mar 2023 19:19:15 +0000

* gnu/packages/python-xyz.scm (python-click-default-group-wheel): 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 7c8b3b3378..a6bd592837 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
 ;;; Copyright © 2021 Simon Streit <[email-masked]>
 ;;; Copyright © 2021 Daniel Meißner <[email-masked]>
 ;;; Copyright © 2021, 2022 Pradana Aumars <[email-masked]>
-;;; Copyright © 2021, 2022 Felix Gruber <[email-masked]>
+;;; Copyright © 2021, 2022, 2023 Felix Gruber <[email-masked]>
 ;;; Copyright © 2021 Sébastien Lerique <[email-masked]>
 ;;; Copyright © 2021 Raphaël Mélotte <[email-masked]>
 ;;; Copyright © 2021 ZmnSCPxj <[email-masked]>
@@ -14892,6 +14892,30 @@ (define-public python-click-default-group
     (home-page "https://github.com/click-contrib/click-default-group")
     (license license:bsd-3)))
 
+(define-public python-click-default-group-wheel
+  ;; Fork of python-click-default-group used by sqlite-utils and datasette.
+  ;; See https://github.com/click-contrib/click-default-group/issues/21
+  (package
+    (name "python-click-default-group-wheel")
+    (version "1.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "click-default-group-wheel" version))
+              (sha256
+               (base32
+                "0ivpdng2391v8afd5j1xdv9vbbr9iafbdh6h5shqhgn0j8ns83g9"))))
+    (build-system python-build-system)
+    (arguments
+      '(#:tests? #f)) ; no tests in pypi package
+    (propagated-inputs (list python-click))
+    (home-page "https://github.com/sublee/click-default-group/")
+    (synopsis
+     "Extends click.Group to invoke a command without explicit subcommand name")
+    (description
+      "This package provides click-default-group with an additional pure
+Python wheel package, compatible with Pyodide.")
+    (license license:bsd-3)))
+
 (define-public python-structlog
   (package
     (name "python-structlog")
-- 
2.39.2