1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-03 07:45:55 +02:00

gnu: Add python-types-pyside6.

* gnu/packages/python-xyz.scm (python-types-pyside6): New variable.

Change-Id: I7c5e60cf38de37b1a127fd8aa2ce062f1da9ae54
This commit is contained in:
Sharlatan Hellseher
2026-03-13 23:07:42 +00:00
parent 672e27612c
commit 0960a63473
+42
View File
@@ -38810,6 +38810,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")