guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit c647c97a5425fc985fa701398e816b35ff023c8e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Mar 13 23:07:42 2026 +0000
gnu: Add python-types-pyside6.
* gnu/packages/python-xyz.scm (python-types-pyside6): New variable.
Change-Id: I7c5e60cf38de37b1a127fd8aa2ce062f1da9ae54
---
gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2e36aec9bd..bf57d7d7e8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -38497,6 +38497,48 @@ very small subset the Python stubs contained in the
complete @code{typeshed}
collection.")
(license license:asl2.0)))
+(define-public python-types-pyside6
+ (package
+ (name "python-types-pyside6")
+ ;; Project does not tag PyPI releases in Git, PyPI does not provide source
+ ;; variant.
+ (properties '((commit . "3a97b71975bda6d96cfa7b37ac6bf50ea100c1a2")
+ (revision . "0")))
+ (version (git-version "6.10.1.1"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LumaPictures/cg-stubs")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07ydqy33fapmmpyq6d90jax3k4vlbb3az1v77bjlgmg8x0jimh4k"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ;XXX: all tests failed
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'select-pyside6
+ (lambda _
+ (chdir "pyside6"))))))
+ (native-inputs
+ (list python-hatchling))
+ (home-page "https://github.com/LumaPictures/cg-stubs")
+ (synopsis "Accurate stubs for PySide6")
+ (description
+ "This package provides PySide6 stubs produced with @code{mypy}'s official
+stubgen tool to directly generate stubs, with a set of corrections applied.")
+ ;; As a derived work from PySide2, the stubs are delivered under the LGPL
+ ;; v2.1 . See file LICENSE for more details.
+ ;;
+ ;; MIT in pyproject.toml
+ (license (list license:lgpl2.1+
+ license:expat))))
+
(define-public python-types-python-dateutil
(package
(name "python-types-python-dateutil")