GNU bug report logs -
#76273
[PATCH v1 00/10] gnu: Add micro.
Previous Next
Full log
Message #14 received at 76273 <at> debbugs.gnu.org (full text, mbox):
From: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable.
Change-Id: I3647d3c36d5b0b61e7dd24d0afbff6b054ff1dd9
---
gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0b357b7750..ac37bc4135 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,38 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-poller
+ (package
+ (name "go-github-com-zyedidia-poller")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/poller")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10cjrqfk1j0l55bdbpm7kv4mqc665pngc8avai0p9chq03y2654g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/poller"))
+ (home-page "https://github.com/zyedidia/poller")
+ (synopsis "An epoll(7)-based file-descriptor multiplexer.")
+ (description
+ "Package poller is a file-descriptor multiplexer. It allows concurent Read and
+Write operations from and to multiple file-descriptors without allocating one OS
+thread for every blocked operation. It operates similarly to Go's netpoller
+(which multiplexes network connections) without requiring special support from
+the Go runtime. It can be used with tty devices, character devices, pipes,
+FIFOs, and any file-descriptor that is poll-able (can be used with select(2),
+epoll(7), etc.) In addition, package poller allows the user to set timeouts
+(deadlines) for read and write operations, and also allows for safe cancelation
+of blocked read and write operations; a Close from another go-routine safely
+cancels ongoing (blocked) read and write operations.")
+ (license license:bsd-2)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
--
2.48.1
This bug report was last modified 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.