From patchwork Fri Feb 14 18:50:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashvith Shetty X-Patchwork-Id: 38608 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D4E4227BBE9; Fri, 14 Feb 2025 18:51:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CF61327BBEA for ; Fri, 14 Feb 2025 18:51:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tj0mQ-0005Xo-Cx; Fri, 14 Feb 2025 13:51:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tj0mF-0005VY-IN for guix-patches@gnu.org; Fri, 14 Feb 2025 13:51:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tj0mE-00060w-S5 for guix-patches@gnu.org; Fri, 14 Feb 2025 13:51:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=qedB/OGB/iwn+Pu/pvTls2h/hVexhfa04+83QUJ5HdQ=; b=s5ATT5wxyrH1BAK4qiEeg1P8GS54UqHr8IkUbqEWwnkLFbpr/Xg1oufsEiuj59qdT1/SPljZKk2/UGUwn0gGK+pGsJeC8KXU2oHIuredKSPhsFYznzcc+T9sCOhrtMYja1wBv/IY3F2i/u9MCgWLeR82t8lwK2RZg1Xdt3QDpJVnUpWdbPX8gkyqe+jYLn5VaaOfxTKdDOJdoJw+34s+vi4Jr32nfgSdP28wrLcDykVAITuQrG9SiXHZKa2Bkwvxi2Z5d4U9WIOnszLJCcoAHvsXkJok2cLV7Pkd7GC3luUPStJ9XZYgb4I3WoL/XZoAO6BcXH/20w4A37rw5F/0rg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tj0mE-0001wX-Mv for guix-patches@gnu.org; Fri, 14 Feb 2025 13:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76273] [PATCH v2 02/10] gnu: Add go-github-com-zyedidia-poller. Resent-From: Ashvith Shetty Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Feb 2025 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76273 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76273@debbugs.gnu.org Cc: Ashvith Shetty , Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 76273-submit@debbugs.gnu.org id=B76273.17395590547407 (code B ref 76273); Fri, 14 Feb 2025 18:51:02 +0000 Received: (at 76273) by debbugs.gnu.org; 14 Feb 2025 18:50:54 +0000 Received: from localhost ([127.0.0.1]:51761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tj0m5-0001vH-Uq for submit@debbugs.gnu.org; Fri, 14 Feb 2025 13:50:54 -0500 Received: from sender-pp-o93.zoho.in ([103.117.158.93]:2156) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tj0ly-0001uD-91 for 76273@debbugs.gnu.org; Fri, 14 Feb 2025 13:50:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1739559036; s=zoho; d=zohomail.in; i=ashvithshetty0010@zohomail.in; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=qedB/OGB/iwn+Pu/pvTls2h/hVexhfa04+83QUJ5HdQ=; b=eN8A5DFDZ+AGmh5eqqCirKg56a9Cw8NTRrhIpVfjYwmoRschRyfyo0LHgjN/c2lR lMCXUfWcTvaTms2FYvKmNpMc191g3vYBJROxYe/ybu0r/WXeORdCuv/WPGnnJpceaOx l4gfUY794xzevkkIyt0Nmz+Mwa3MIZYWh95SPwfE= Received: by mx.zoho.in with SMTPS id 1739559035031493.31026308789535; Sat, 15 Feb 2025 00:20:35 +0530 (IST) Date: Sat, 15 Feb 2025 00:20:09 +0530 Message-ID: <20250214185019.8937-4-ashvithshetty0010@zohomail.in> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214185019.8937-2-ashvithshetty0010@zohomail.in> References: <20250214185019.8937-2-ashvithshetty0010@zohomail.in> MIME-Version: 1.0 X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ashvith Shetty X-ACL-Warn: , Ashvith Shetty via Guix-patches X-Patchwork-Original-From: Ashvith Shetty via Guix-patches via From: Ashvith Shetty Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable. Change-Id: I5d4acbca7dbf47a2767d3fb262f55fbb9c678d50 --- 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 d835769032..61ac06b5c8 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15934,6 +15934,38 @@ (define-public go-github-com-zclconf-go-cty-debug utilities for cty Golang module.") (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 "File-descriptor multiplexer based on epoll(7)") + (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))) + (define-public go-go-abhg-dev-komplete (package (name "go-go-abhg-dev-komplete")