all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 74495@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#74495] [PATCH 01/15] gnu: Add go-github-com-atotto-clipboard.
Date: Thu, 28 Nov 2024 23:48:55 +0000	[thread overview]
Message-ID: <7c3aa14789ff6d0c5ed7f790d2686bf102a07624.1732837202.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1732837202.git.sharlatanus@gmail.com>

From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-atotto-clipboard): New variable.

Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0ef4c46d9f..63ac100349 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -85,7 +85,9 @@ (define-module (gnu packages golang-xyz)
   #:use-module (gnu packages golang-maths)
   #:use-module (gnu packages golang-web)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages specifications))
+  #:use-module (gnu packages specifications)
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages xorg))
 
 ;;; Commentary:
 ;;;
@@ -958,6 +960,39 @@ (define-public go-github-com-asaskevich-govalidator
 @url{https://github.com/chriso/validator.js,validator.js}.")
     (license license:expat)))
 
+(define-public go-github-com-atotto-clipboard
+  (package
+    (name "go-github-com-atotto-clipboard")
+    (version "0.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/atotto/clipboard")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ycd8zkgsq9iil9svhlwvhcqwcd7vik73nf8rnyfnn10gpjx97k5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/atotto/clipboard"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'start-xorg-server
+            (lambda* (#:key inputs #:allow-other-keys)
+              ;; The test suite requires a running X server.
+              (system "Xvfb :1 &")
+              (setenv "DISPLAY" ":1"))))))
+    (native-inputs
+     (list xorg-server-for-tests))
+    (propagated-inputs (list xclip))
+    (home-page "https://github.com/atotto/clipboard")
+    (synopsis "Clipboard for Golang")
+    (description
+     "@code{clipboard} provides copying and pasting to the clipboard for Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-audriusbutkevicius-recli
   (package
     (name "go-github-com-audriusbutkevicius-recli")
-- 
2.46.0





  reply	other threads:[~2024-11-28 23:52 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 22:32 ` [bug#74495] [PATCH 00/16] " Sharlatan Hellseher
2024-11-24 10:27 ` [bug#74495] [PATCH v2 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-26 19:09 ` [bug#74495] [PATCH 00/16] " Artyom V. Poptsov
2024-11-28 23:48 ` [bug#74495] [PATCH 00/15] gnu: Add go-jqp Sharlatan Hellseher
2024-11-28 23:48   ` Sharlatan Hellseher [this message]
2024-11-28 23:48   ` [bug#74495] [PATCH 02/15] gnu: Add go-github-com-aymanbagabas-go-udiff Sharlatan Hellseher
2024-11-28 23:48   ` [bug#74495] [PATCH 03/15] gnu: Add go-github-com-makenowjust-heredoc Sharlatan Hellseher
2024-11-28 23:48   ` [bug#74495] [PATCH 04/15] gnu: Add go-github-com-kylelemons-godebug-pretty Sharlatan Hellseher
2024-11-28 23:48   ` [bug#74495] [PATCH 05/15] gnu: Add go-github-com-sahilm-fuzzy Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 06/15] gnu: Add go-github-com-charmbracelet-x-ansi Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 07/15] gnu: Add go-github-com-charmbracelet-x-exp-golden Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 08/15] gnu: Add go-github-com-charmbracelet-x-term Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 09/15] gnu: Add go-github-com-charmbracelet-lipgloss Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 10/15] gnu: Add go-github-com-charmbracelet-bubbles Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 11/15] gnu: Add go-github-com-muesli-ansi Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 12/15] gnu: go-github-com-itchyny-gojq: Install the library Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 13/15] gnu: gojq: Adjust import path Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 14/15] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Sharlatan Hellseher
2024-11-28 23:49   ` [bug#74495] [PATCH 15/15] gnu: Add go-jqp Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7c3aa14789ff6d0c5ed7f790d2686bf102a07624.1732837202.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=74495@debbugs.gnu.org \
    --cc=poptsov.artyom@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.