diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-13 11:26:45 +0000 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-21 21:52:39 +0100 |
| commit | e5dacef22d499a7e75636862de1774cc46ae65f3 (patch) | |
| tree | 78a5abf66da4f3723fc9fad15f4749fe485fca97 | |
| parent | 42804622a18190e8977d4d9f26be04151ada6708 (diff) | |
gnu: Add python-qtawesome.
* gnu/packages/python-graphics.scm (python-qtawesome): New variable.
Change-Id: I75596aeb7352fb03ecfa34bbef6c5901edd5e180
| -rw-r--r-- | gnu/packages/python-graphics.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-graphics.scm b/gnu/packages/python-graphics.scm index 86a12874d47..d9c87a5c9ad 100644 --- a/gnu/packages/python-graphics.scm +++ b/gnu/packages/python-graphics.scm @@ -56,6 +56,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -805,6 +806,38 @@ ctypes module to interface with SDL2, and provides simple Python classes and wrappers for common SDL2 functionality.") (license license:cc0))) +(define-public python-qtawesome + (package + (name "python-qtawesome") + (version "1.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spyder-ide/qtawesome") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "109anjlnin5cafx579clj1x21ggig3qkcm2g1wlx0lshxqzjadan")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Actually just ::test_get_fonts_info would be better. + #~(list "--ignore" "qtawesome/tests/test_qtawesome.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'setenv + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (propagated-inputs (list python-qtpy python-pyqt)) + (native-inputs (list python-pytest python-pytest-qt python-setuptools)) + (home-page "https://github.com/spyder-ide/qtawesome") + (synopsis "FontAwesome icons in PyQt and PySide applications") + (description + "@code{FontAwesome} icons in @code{PyQt} and @code{PySide} applications.") + (license license:expat))) + (define-public python-vispy (package (name "python-vispy") |
