me
/
guix
Archived
1
0
Fork 0

gnu: Add evremap.

* gnu/packages/rust-apps.scm (evremap): New variable.

Change-Id: I5bb3e125e5fd51782466f7947591d21d232cd07c
master
Nicolas Goaziou 2024-07-21 18:23:15 +02:00
parent 860f320e54
commit 0f0a82fa13
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 40 additions and 0 deletions

View File

@ -546,6 +546,46 @@ Features include:
configuration instructions.") configuration instructions.")
(license license:expat))) (license license:expat)))
(define-public evremap
(let ((commit "cc618e8b973f5c6f66682d1477b3b868a768c545")) ;version bump
(package
(name "evremap")
(version "0.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/wez/evremap")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"182ry573q8kjsxx2hvxk9d6clahpll1vh50zvs5g652jd6a2f038"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
("rust-clap" ,rust-clap-4)
("rust-env-logger" ,rust-env-logger-0.11)
("rust-evdev-rs" ,rust-evdev-rs-0.6)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-toml" ,rust-toml-0.8))))
(native-inputs (list pkg-config))
(inputs (list libevdev))
(home-page "https://github.com/wez/evremap")
(synopsis "Keyboard input remappper")
(description
"Evremap is a keyboard input remapper. It works by grabbing exclusive
access to an input device and maintaining a model of the keys that are
pressed. It then applies your remapping configuration to produce the
effective set of pressed keys and emits appropriate changes to a virtual
output device.
Its remapping is effective system-wide: in Wayland, X11 and the Linux
console.")
(license license:expat))))
(define-public eza (define-public eza
(package (package
(name "eza") (name "eza")