-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
autokey-wayland: init at 0.97.4 #502762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
enderbsd
wants to merge
6
commits into
NixOS:master
Choose a base branch
from
enderbsd:autokey-wayland
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+103
−0
Open
autokey-wayland: init at 0.97.4 #502762
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5dfa76d
autokey-wayland: init at 0.97.4
enderbsd c2fdd5d
autokey-wayland: add enderbsd to maintainers
enderbsd 524f59c
autokey-wayland: switch to autokey-headless, add version check, chang…
enderbsd d3c5a8a
maintainers: add enderbsd
enderbsd 957a9ef
autokey-wayland: add tkinter for headless clipboard fallback
enderbsd 7942397
autokey-wayland: enable __structuredAttrs (NPV-166)
enderbsd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| { | ||
| lib, | ||
| python3Packages, | ||
| fetchFromGitHub, | ||
| zip, | ||
| wrapGAppsHook3, | ||
| gobject-introspection, | ||
| gtksourceview3, | ||
| libappindicator-gtk3, | ||
| libnotify, | ||
| libsForQt5, | ||
| versionCheckHook, | ||
| zenity, | ||
| wmctrl, | ||
| kdePackages, | ||
| }: | ||
|
|
||
| python3Packages.buildPythonApplication (finalAttrs: { | ||
| pname = "autokey-wayland"; | ||
| version = "0.97.4"; | ||
| format = "setuptools"; | ||
|
|
||
| __structuredAttrs = true; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "dlk3"; | ||
| repo = "autokey-wayland"; | ||
| tag = "v${finalAttrs.version}"; | ||
| hash = "sha256-aS1X+YKV5VtuMUjkkQIwARPWxoagXHKUFaPuy3qq/fI="; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ | ||
| zip | ||
| wrapGAppsHook3 | ||
| gobject-introspection | ||
| ]; | ||
|
|
||
| buildInputs = [ | ||
| gtksourceview3 | ||
| libappindicator-gtk3 | ||
| libnotify | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = with python3Packages; [ | ||
| # shared with upstream autokey | ||
| dbus-python | ||
| pyinotify | ||
| xlib | ||
| pygobject3 | ||
| packaging | ||
| # wayland fork additions | ||
| python-magic | ||
| pyasyncore | ||
| pyqt5 | ||
| qscintilla | ||
| pydbus | ||
| pyudev | ||
| evdev | ||
| tkinter | ||
| ]; | ||
|
|
||
| # build the GNOME Shell extension zip before the Python build | ||
| preBuild = '' | ||
| cd autokey-gnome-extension | ||
| zip --junk-paths autokey-gnome-extension@autokey.shell-extension.zip 46/extension.js 46/metadata.json | ||
| cd .. | ||
| ''; | ||
|
|
||
| runtimeDeps = [ | ||
| zenity | ||
| wmctrl | ||
| kdePackages.kdialog | ||
| ]; | ||
|
|
||
| dontWrapGApps = true; | ||
|
|
||
| preFixup = '' | ||
| makeWrapperArgs+=( | ||
| "''${gappsWrapperArgs[@]}" | ||
| --prefix PATH : ${lib.makeBinPath finalAttrs.runtimeDeps} | ||
| --prefix QT_PLUGIN_PATH : "${libsForQt5.qtbase.bin}/${libsForQt5.qtbase.qtPluginPrefix}" | ||
| --prefix QT_PLUGIN_PATH : "${libsForQt5.qtwayland.bin}/${libsForQt5.qtbase.qtPluginPrefix}" | ||
| ) | ||
| ''; | ||
|
|
||
| doInstallCheck = true; | ||
| nativeInstallCheckInputs = [ versionCheckHook ]; | ||
|
|
||
| meta = { | ||
| description = "Desktop automation utility for Linux with Wayland support"; | ||
| homepage = "https://github.com/dlk3/autokey-wayland"; | ||
| license = lib.licenses.gpl3Plus; | ||
| maintainers = with lib.maintainers; [ enderbsd ]; | ||
| platforms = lib.platforms.linux; | ||
| mainProgram = "autokey-headless"; | ||
| }; | ||
| }) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.