unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 74495@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard.
Date: Sat, 23 Nov 2024 21:28:27 +0300	[thread overview]
Message-ID: <b653e021654bb28edea920ae26d808fad5452c8e.1732386154.git.poptsov.artyom@gmail.com> (raw)
In-Reply-To: <cover.1732386154.git.poptsov.artyom@gmail.com>

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

Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b
---
 gnu/packages/golang-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 177ab8a20f..b050c285f3 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:
 ;;;
@@ -5735,6 +5737,37 @@ (define-public go-github-com-multiformats-go-varint
 varints.")
     (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)
+    (native-inputs (list xorg-server-for-tests))
+    (propagated-inputs (list xclip))
+    (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"))))))
+    (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-nats-io-nats-go
   (package
     (name "go-github-com-nats-io-nats-go")
-- 
2.46.0





  reply	other threads:[~2024-11-23 18:30 UTC|newest]

Thread overview: 35+ 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 ` Artyom V. Poptsov [this message]
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

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=b653e021654bb28edea920ae26d808fad5452c8e.1732386154.git.poptsov.artyom@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=74495@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).