GNU bug report logs - #74495
[PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sat, 23 Nov 2024 18:28:01 UTC

Severity: normal

Tags: patch

Done: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 74495 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 74495 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH v2 01/16] gnu: Add go-github-com-atotto-clipboard.
Date: Sun, 24 Nov 2024 13:27:22 +0300
* gnu/packages/golang-xyz.scm (go-github-com-atotto-clipboard): New variable.

Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b
---
 gnu/packages/xdisorg.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index a75e9cd6ba..b7d8b1dd99 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1817,6 +1817,37 @@ (define-public gammastep
 less if you are working in front of the screen at night.")
     (license license:gpl3)))
 
+(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 xscreensaver
   (package
     (name "xscreensaver")

base-commit: 047967c42f237695d5af2af53321c70f157685a3
-- 
2.46.0





This bug report was last modified 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.