2018-12-02 12:41:15 +01:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, wrapGAppsHook, gobject-introspection
|
2019-03-23 05:50:12 +01:00
|
|
|
, gtksourceview3, libappindicator-gtk3, libnotify }:
|
2018-06-25 00:25:14 +02:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
name = "autokey-${version}";
|
|
|
|
version = "0.94.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "autokey";
|
|
|
|
repo = "autokey";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1syxyciyxzs0khbfs9wjgj03q967p948kipw27j1031q0b5z3jxr";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Arch requires a similar work around—see
|
|
|
|
# https://aur.archlinux.org/packages/autokey-py3/?comments=all
|
|
|
|
patches = [ ./remove-requires-dbus-python.patch ];
|
|
|
|
|
|
|
|
# Tests appear to be broken with import errors within the project structure
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# Note: no dependencies included for Qt GUI because Qt ui is poorly
|
|
|
|
# maintained—see https://github.com/autokey/autokey/issues/51
|
|
|
|
|
2019-03-23 05:50:12 +01:00
|
|
|
buildInputs = [ wrapGAppsHook gobject-introspection gtksourceview3
|
2018-06-25 00:25:14 +02:00
|
|
|
libappindicator-gtk3 libnotify ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
dbus-python pyinotify xlib pygobject3 ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/autokey/autokey";
|
2018-06-25 00:25:14 +02:00
|
|
|
description = "Desktop automation utility for Linux and X11";
|
|
|
|
license = with lib.licenses; [ gpl3 ];
|
|
|
|
maintainers = with lib.maintainers; [ pneumaticat ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|