diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-03-06 11:33:55 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-06 11:34:25 +0100 |
| commit | 762f08d74a47c4029590b9dd8d2a6f8734d2c820 (patch) | |
| tree | 184f067551b4f48a41d8c0b56e140e7bfe36513e /gnu/packages | |
| parent | cbda83ad5a338747c0a9fc5c5c21bfd4250be214 (diff) | |
gnu: Remove autokey.
* gnu/packages/xdisorg.scm (autokey): Delete variable.
Fixes: guix/guix#5414
Change-Id: I75aecf083bbbe61ad66823d88e2b0e204c734925
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/xdisorg.scm | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 413895c87ff..f8b2e7b90d3 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -181,93 +181,6 @@ ;; packages outside the x.org system proper -(define-public autokey - (package - (name "autokey") - (version "0.96.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/autokey/autokey") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1v19196swihc12bcg0d9s07gfc3a44b9y7g6rqhb82qxm4p8jmbp")))) - (build-system pyproject-build-system) - (arguments - (list - ;; tests: 328 passed, 2 skipped, 1 deselected, 13 xfailed, 1 warning - #:test-flags - ;; AssertionError: Ensure the most recent git tag version matches the - ;; version number in lib/autokey/common.py - #~(list "--deselect=tests/test_common.py::test_version_number_accurate") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-pytest-config - (lambda _ - (substitute* "setup.cfg" - (("--cov-repor.*") "")))) - ;; Use 'prefix' instead of '=' to allow the user to use additional - ;; GI paths from their autokey scripts. GUIX_PYTHONPATH is already - ;; wrapped with prefix in python-build-system's wrap. - (add-after 'wrap 'wrap-executable - (lambda* (#:key inputs #:allow-other-keys) - (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")) - ;; See: lib/autokey/UI_common_functions.py and - ;; apt-requirements.txt for runtime dependencies. - (path (list (string-append #$(this-package-input "kdialog") - "/bin") - (string-append #$(this-package-input "wmctrl") - "/bin") - (string-append #$(this-package-input "zenity") - "/bin")))) - (for-each - (lambda (program) - (wrap-program program - `("PATH" ":" prefix ,path) - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) - (map (lambda (name) - (string-append #$output "/bin/" name)) - '("autokey-gtk" - "autokey-qt" - "autokey-run" - "autokey-shell")))))) - (add-before 'check 'setup-env-vars - (lambda _ - ;; tests/test_macro.py wants LANG set - (setenv "LANG" "") - ;; required for tests/test_configmanager.py - (setenv "HOME" "/tmp")))))) - (native-inputs - (list python-pyhamcrest - git-minimal - python-pytest - python-setuptools)) - (inputs - (list bash-minimal ; for wrap-program - gtksourceview-3 - kdialog - libappindicator - libnotify - python-dbus - python-ipython - python-pygobject - python-pyinotify - python-pyqt+qscintilla - python-xlib - wmctrl - zenity)) - (home-page "https://github.com/autokey/autokey") - (synopsis "Keyboard and GUI automation utility") - (description - "AutoKey is a desktop automation utility for X11. It allows the -automation of virtually any task by responding to typed abbreviations and -hotkeys. It offers a full-featured GUI (GTK and QT versions) that makes it -highly accessible for novices, as well as a scripting interface offering the -full flexibility and power of the Python language.") - (license license:gpl3+))) - (define-public xnee (package (name "xnee") |
