gnu: Add go-atomicgo-dev-keyboard.

* gnu/packages/golang-xyz.scm (go-atomicgo-dev-keyboard): New variable.

Change-Id: I335f43f06009d188c4e3278ea00a1568a3be9235
This commit is contained in:
Sharlatan Hellseher 2024-06-24 21:29:29 +01:00
parent 44ec3b17df
commit 5ed48f9d6c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -111,6 +111,37 @@ (define-public go-atomicgo-dev-cursor
any kind.")
(license license:expat)))
(define-public go-atomicgo-dev-keyboard
(package
(name "go-atomicgo-dev-keyboard")
(version "0.2.9")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/atomicgo/keyboard")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0axhs1ji87szirv91vvwy0l0h5f468pllp8zap2dpcy05krmi9jf"))))
(build-system go-build-system)
(arguments
(list
;; Cycle: go-github-com-pterm-pterm -> go-github-com-marvinjwendt-testza
;; -> go-atomicgo-dev-keyboard -> go-github-com-pterm-pterm
#:tests? #f
#:import-path "atomicgo.dev/keyboard"))
(propagated-inputs
(list go-github-com-containerd-console))
(home-page "https://atomicgo.dev/keyboard")
(synopsis "Read keyboard events in CLI applications")
(description
"This package provides a functionality to read key presses from the keyboard,
while in a terminal application, which may be combined to check for ctrl+c,
alt+4, ctrl-shift, alt+ctrl+right, etc. It can also be used to
simulate (mock) keypresses for CI testing.")
(license license:expat)))
(define-public go-atomicgo-dev-schedule
(package
(name "go-atomicgo-dev-schedule")