summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAshvith Shetty <ashvithshetty0010@zohomail.in>2025-02-15 00:35:26 +0530
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-02-15 15:42:22 +0000
commitae85e8303c850c4bf0e268f7420be24717207f41 (patch)
tree6d3cd6a39d4f2a71e84bb6a2ab68a33b8baaf93f /gnu
parent499d3b81989e1eb2a09d5e0a97057e777462e12c (diff)
gnu: Add go-github-com-zyedidia-poller.
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable. Change-Id: I5d4acbca7dbf47a2767d3fb262f55fbb9c678d50 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 70c78808eb8..9c78ea793ff 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15960,6 +15960,42 @@ configuration languages, but other uses may be possible too.")
15960utilities for cty Golang module.") 15960utilities for cty Golang module.")
15961 (license license:expat))) 15961 (license license:expat)))
15962 15962
15963(define-public go-github-com-zyedidia-poller
15964 (package
15965 (name "go-github-com-zyedidia-poller")
15966 (version "1.0.1")
15967 (source
15968 (origin
15969 (method git-fetch)
15970 (uri (git-reference
15971 (url "https://github.com/zyedidia/poller")
15972 (commit (string-append "v" version))))
15973 (file-name (git-file-name name version))
15974 (sha256
15975 (base32 "10cjrqfk1j0l55bdbpm7kv4mqc665pngc8avai0p9chq03y2654g"))))
15976 (build-system go-build-system)
15977 (arguments
15978 (list
15979 #:import-path "github.com/zyedidia/poller"))
15980 (home-page "https://github.com/zyedidia/poller")
15981 (synopsis "File-descriptor multiplexer based on epoll(7)")
15982 (description
15983 "Package poller is a file-descriptor multiplexer. It allows concurent
15984Read and Write operations from and to multiple file-descriptors without
15985allocating one OS thread for every blocked operation. It operates similarly
15986to Go's netpoller (which multiplexes network connections) without requiring
15987special support from the Go runtime. It can be used with tty devices,
15988character devices, pipes, FIFOs, and any file-descriptor that is poll-able,
15989can be used with select(2), epoll(7), etc.
15990
15991In addition, package poller allows the user to set timeouts (deadlines) for
15992read and write operations, and also allows for safe cancelation of blocked
15993read and write operations; a Close from another go-routine safely cancels
15994ongoing (blocked) read and write operations.
15995
15996It's an active fork of @url{https://github.com/npat-efault/poller}.")
15997 (license license:bsd-2)))
15998
15963(define-public go-go-abhg-dev-komplete 15999(define-public go-go-abhg-dev-komplete
15964 (package 16000 (package
15965 (name "go-go-abhg-dev-komplete") 16001 (name "go-go-abhg-dev-komplete")