@@ -1037,6 +1037,42 @@ provides a number of utilities to make coding with expected cleaner.")
uinput interface.")
(license license:expat)))
+(define-public libevdevplus
+ (package
+ (name "libevdevplus")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/YukiWorkshop/libevdevPlus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09y65s16gch0w7fy1s9yjk9gz3bjzxix36h5wmwww6lkj2i1z3rj"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; No rule to make target 'install' in version 0.2.1
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (inc (string-append out "/include"))
+ (lib (string-append out "/lib")))
+ (install-file "libevdevPlus.a" lib)
+ (with-directory-excursion "../source"
+ (install-file "CommonIncludes.hpp" inc)
+ (install-file "evdevPlus.hpp" inc)
+ (install-file "InputEvent.hpp" inc))))))))
+ (home-page "https://github.com/YukiWorkshop/libevdevPlus")
+ (synopsis "Easy-to-use event device library in C++")
+ (description "@code{libevdevPlus} is a C++ event device library.")
+ (license license:expat)))
+
(define-public magic-enum
(package
(name "magic-enum")