[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74495] [PATCH v3 01/15] gnu: Add go-github-com-atotto-clipboard.
From: |
Artyom V. Poptsov |
Subject: |
[bug#74495] [PATCH v3 01/15] gnu: Add go-github-com-atotto-clipboard. |
Date: |
Sun, 1 Dec 2024 10:23:37 +0300 |
* 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 1dc7849edb..daafc1285c 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:
;;;
@@ -981,6 +983,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")
base-commit: 10e99250f49d40563619c849b0d4ada31f985991
--
2.46.0
- [bug#74495] [PATCH v3 01/15] gnu: Add go-github-com-atotto-clipboard.,
Artyom V. Poptsov <=
- [bug#74495] [PATCH v3 03/15] gnu: Add go-github-com-makenowjust-heredoc., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 02/15] gnu: Add go-github-com-aymanbagabas-go-udiff., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 06/15] gnu: Add go-github-com-charmbracelet-x-ansi., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 04/15] gnu: Add go-github-com-kylelemons-godebug-pretty., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 10/15] gnu: Add go-github-com-charmbracelet-bubbles., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 08/15] gnu: Add go-github-com-charmbracelet-x-term., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 13/15] gnu: gojq: Adjust import and unpack paths., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 05/15] gnu: Add go-github-com-sahilm-fuzzy., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 07/15] gnu: Add go-github-com-charmbracelet-x-exp-golden., Artyom V. Poptsov, 2024/12/01
- [bug#74495] [PATCH v3 15/15] gnu: Add go-jqp., Artyom V. Poptsov, 2024/12/01