gnu: Add ydotool.

* gnu/packages/xdisorg.scm (ydotool): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Nicolas Graves via Guix-patches via 2022-09-26 09:27:03 +02:00 committed by Andrew Tropin
parent 4ab434958b
commit 910f2b5d88
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -3168,3 +3168,24 @@ (define-public wlsunset
light filter or night light.")
(license license:expat)))
(define-public ydotool
(package
(name "ydotool")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ReimuNotMoe/ydotool")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1h19dh7kai0iikssr7sq0wfkh0sb18dylyfg7c3dkwc158cdg9cr"))))
(build-system cmake-build-system)
(arguments '(#:tests? #f)) ; no tests
(native-inputs (list scdoc))
(home-page "https://github.com/ReimuNotMoe/ydotool")
(synopsis "Generic Linux command-line automation tool (no X!)")
(description "@code{ydotool} is a Linux command-line tool that simulates
keyboard input, mouse actions, etc. programmatically or manually.")
(license license:agpl3+)))