From patchwork Fri Feb 14 04:58:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ashvith Shetty X-Patchwork-Id: 38591 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 777BD27BBEA; Fri, 14 Feb 2025 09:06:03 +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=ham 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 2A39B27BBE2 for ; Fri, 14 Feb 2025 09:06:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tirdd-0006MJ-7R; Fri, 14 Feb 2025 04:05:33 -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 1tino4-0003TA-Vr for guix-patches@gnu.org; Fri, 14 Feb 2025 00:00: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 1tino3-0000N1-RL for guix-patches@gnu.org; Fri, 14 Feb 2025 00:00:04 -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:Date:From:To:In-Reply-To:References:Subject; bh=qF5o1b0c2heEvs/EfOLOtD9q4529jGpyhuo5gJbh1gM=; b=efYBvYc1KaDx4mtyGiDsUp4ntW7EEdsH2jAkTiXIhg0tK5tq5Fva3t/wIsow2Oa9z9sjUMwfCAW+UqAqW1aHZ7V5ypl2YfL2iCkv37dV4GxRmsgMiheysMWHsPl+6I/UlXvo10eJHRcwteiAphUuRKA6sGUK0Ogcn3IacSjrWWZBWXmWx+WEfNVV0t12xSHlJ4wy/UrnUOU34dXh8wgOEEFVj64rNoGgGpyyefTSfv0Pkxkc3qLjNBqjI7FutT4VuNrdk86RNtrguVN0FoXLITTZkca84UlbA5pKDawLCaa8IaoOtKokiAmJIouAxtD3zsFOGMQLQXMo3nMmuF6IcA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tino3-0004Or-Dr for guix-patches@gnu.org; Fri, 14 Feb 2025 00:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76273] [PATCH v1 01/10] gnu: Add go-github-com-zyedidia-clipper. References: <20250213175945.30918-1-ashvithshetty0010@zohomail.in> In-Reply-To: <20250213175945.30918-1-ashvithshetty0010@zohomail.in> Resent-From: Ashvith Shetty Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Feb 2025 05:00:03 +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: Katherine Cox-Buday , Sharlatan Hellseher , Ashvith Shetty Received: via spool by 76273-submit@debbugs.gnu.org id=B76273.173950918316744 (code B ref 76273); Fri, 14 Feb 2025 05:00:03 +0000 Received: (at 76273) by debbugs.gnu.org; 14 Feb 2025 04:59:43 +0000 Received: from localhost ([127.0.0.1]:46507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tinni-0004Lz-SO for submit@debbugs.gnu.org; Thu, 13 Feb 2025 23:59:43 -0500 Received: from sender-pp-o93.zoho.in ([103.117.158.93]:3442) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tinne-0004Lf-OR for 76273@debbugs.gnu.org; Thu, 13 Feb 2025 23:59:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1739509168; s=zoho; d=zohomail.in; i=ashvithshetty0010@zohomail.in; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=qF5o1b0c2heEvs/EfOLOtD9q4529jGpyhuo5gJbh1gM=; b=A94OLIIZmvBF/fTW7oBPRvvoBA/RaaRuukIEb3A4ahcZvsxceUeF+urYe0ITUn3Q ofFTQLFrjibHi8X42Y9LrsY7HYWE0zY7iwhuEjtqkBreom7eBQIPb2bF868ABUzWKvR byMXZWYCMK1xKuBMk8URXBQUTtokLGRDMyTr+ddU= Received: by mx.zoho.in with SMTPS id 1739509165603145.88775755748486; Fri, 14 Feb 2025 10:29:25 +0530 (IST) Date: Fri, 14 Feb 2025 10:28:55 +0530 Message-ID: <20250214045910.4132-1-ashvithshetty0010@zohomail.in> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 14 Feb 2025 04:05:28 -0500 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 From: Ashvith Shetty * gnu/packages/golang-xyz.scm (go-github-com-zyedidia-clipper): New variable. Change-Id: Ia3eb2a28f5ef006b54e2698b3ebb66b75a05fb4f --- gnu/packages/golang-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 2af3339197..cef42b0ef4 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2024 Troy Figiel ;;; Copyright © 2024 gemmaro ;;; Copyright © 2024 Roman Scherer +;;; Copyright © 2025 Ashvith Shetty ;;; ;;; This file is part of GNU Guix. ;;; @@ -17788,6 +17789,43 @@ (define-public misspell #:import-path "github.com/client9/misspell/cmd/misspell" #:unpack-path "github.com/client9/misspell")))) +(define-public go-github-com-zyedidia-clipper + (package + (name "go-github-com-zyedidia-clipper") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyedidia/clipper") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18fv2cdll1d7d5wxs6r7kkhmk60pziiw3iy7knmdbcbhrk9rg112")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/zyedidia/clipper")) + (home-page "https://github.com/zyedidia/clipper") + (synopsis "Clipper: cross-platform clipboard library") + (description + "Platforms supported: +@itemize +@item Linux (via xclip or xsel or wl-copy/wl-paste) +@item MacOS (via pbcopy/pbpaste) +@item Windows (via the Windows clipboard API) +@item WSL (via clip.exe/powershell.exe) +@item Android Termux (via termux-clipboard-set/termux-clipboard-get) +@item Plan9 (via /dev/snarf) +@item Anything else (via a user-defined script) +@end itemize +Fallback methods: +@itemize +@item Internal in-memory clipboard +@item File-based clipboard +@end itemize") + (license license:expat))) + ;;; ;;; 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