* [bug#72247] [PATCH 0/2] gnu: Add cliphist
@ 2024-07-23 1:50 spencerpeters via Guix-patches via
2024-07-23 1:56 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: spencerpeters via Guix-patches via @ 2024-07-23 1:50 UTC (permalink / raw)
To: 72247
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
This patch set adds the Wayland clipboard manager cliphist as well as the go
package go-go-senan-xyz-flagconf as a dependency.
Spencer Peters (2):
* gnu/packages/golang-xyz.scm (go-go-senan-xyz-flagconf): New
variable.
* gnu/packages/xdisorg.scm (cliphist): New variable.
gnu/packages/golang-xyz.scm | 29 ++++++++++++++++++++++++++++
gnu/packages/xdisorg.scm | 38 +++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
base-commit: b70893b5c2168a4d3a7f6a497fb36608900c83ae
--
2.45.2
[-- Attachment #2: Type: text/html, Size: 1733 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf.
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
@ 2024-07-23 1:56 ` spencerpeters via Guix-patches via
2024-07-23 1:57 ` [bug#72247] [PATCH 2/2] * gnu/packages/xdisorg.scm (cliphist): New variable spencerpeters via Guix-patches via
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: spencerpeters via Guix-patches via @ 2024-07-23 1:56 UTC (permalink / raw)
To: 72247@debbugs.gnu.org
[-- Attachment #1: Type: text/plain, Size: 1871 bytes --]
From: Spencer Peters <spencerpeters@protonmail.com>
* gnu/packages/golang-xyz.scm (go-go-senan-xyz-flagconf): New variable.
Change-Id: Iaa14ace540e82405876ad48e807d246f9fbdd00a
---
gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9931911e32..8cdef56b7b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5027,6 +5028,34 @@ (define-public go-go-etcd-io-bbolt
Postgres or MySQL.")
(license license:expat)))
+(define-public go-go-senan-xyz-flagconf
+ (package
+ (name "go-go-senan-xyz-flagconf")
+ (version "0.1.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sentriz/flagconf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rms7hj1cdi5gfyhf1am1f8c4lq9ll4ashqi87yc6aq93gqgkag0"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; Won't build with any version less than 1.20
+ #:go go-1.22
+ #:import-path "go.senan.xyz/flagconf"))
+ (propagated-inputs (list go-github-com-rogpeppe-go-internal
+ go-golang-org-x-sys go-golang-org-x-tools))
+ (home-page "https://go.senan.xyz/flagconf")
+ (synopsis "Extensions to Go's flag package")
+ (description
+ "Flagconf provides extensions to Go's flag package to support prefixed
+environment variables and a simple config file format.")
+ (license license:expat)))
+
(define-public go-go-uber-org-atomic
(package
(name "go-go-uber-org-atomic")
--
2.45.2
[-- Attachment #2: Type: text/html, Size: 5515 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#72247] [PATCH 2/2] * gnu/packages/xdisorg.scm (cliphist): New variable.
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
2024-07-23 1:56 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
@ 2024-07-23 1:57 ` spencerpeters via Guix-patches via
2024-07-28 22:24 ` [bug#72247] [PATCH 0/2] gnu: Add cliphist Sharlatan Hellseher
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: spencerpeters via Guix-patches via @ 2024-07-23 1:57 UTC (permalink / raw)
To: 72247@debbugs.gnu.org
[-- Attachment #1: Type: text/plain, Size: 2393 bytes --]
From: Spencer Peters <spencerpeters@protonmail.com>
* gnu/packages/xdisorg.scm (cliphist): New variable.
Change-Id: I33d71b9739158101638b66827592d1c3cbb1b443
---
gnu/packages/xdisorg.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4c12835b24..cdd196e35d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -63,6 +63,7 @@
;;; Copyright © 2022 Mehmet Tekman <mtekman89@gmail.com>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
+;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -116,6 +117,8 @@ (define-module (gnu packages xdisorg)
#:use-module (gnu packages gl)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -3852,3 +3855,38 @@ (define-public xxkb
accepts events from XKB. That means that it will work with the existing
setup of your X Server without any modifications.")
(license license:artistic2.0)))
+
+(define-public cliphist
+ (package
+ (name "cliphist")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sentriz/cliphist")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cbhrw9vk8c0in9yyhlp0k9rldgjwbcj00d7vqh69p3igznhdgsk"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.22
+ #:import-path "go.senan.xyz/cliphist"))
+ (inputs (list go-github-com-rogpeppe-go-internal
+ go-go-etcd-io-bbolt
+ go-go-senan-xyz-flagconf
+ go-golang-org-x-image
+ go-golang-org-x-sys
+ go-golang-org-x-tools
+ wl-clipboard
+ xdg-utils))
+ (synopsis "Clipboard history manager for wayland with support for images")
+ (description
+ "A Wayland clipboard history manager. It can write clipboard changes to a
+history file, recall history with any picker which accepts input from
+stdin (including dmenu, rofi, and wofi), copy and past both images and text,
+and preserve leading and trailing whitespace.")
+ (home-page "https://github.com/sentriz/cliphist")
+ (license license:gpl3)))
--
2.45.2
[-- Attachment #2: Type: text/html, Size: 5756 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#72247] [PATCH 0/2] gnu: Add cliphist
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
2024-07-23 1:56 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
2024-07-23 1:57 ` [bug#72247] [PATCH 2/2] * gnu/packages/xdisorg.scm (cliphist): New variable spencerpeters via Guix-patches via
@ 2024-07-28 22:24 ` Sharlatan Hellseher
2024-08-11 21:25 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-07-28 22:24 UTC (permalink / raw)
To: 72247
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
Hi,
Thank you for the patches.
May you adjust indentation as a first part of improvement for v2, please?
If you are Emacs user, select the region and apply function
`indent-region' (C-M-\), or try to use `guix import go <module-name>`.
- Try to build with current default go version which is 1.21
- If it's an executable command, please add `#:install-source #f` and
place all Golang modules to [native-inputs]
- Do not start description with article
- Place [home-page] above [synopsis] field.
---
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
` (2 preceding siblings ...)
2024-07-28 22:24 ` [bug#72247] [PATCH 0/2] gnu: Add cliphist Sharlatan Hellseher
@ 2024-08-11 21:25 ` spencerpeters via Guix-patches via
2024-08-11 21:26 ` [bug#72247] [PATCH 2/2] gnu: Add cliphist spencerpeters via Guix-patches via
2024-08-26 23:38 ` bug#72247: [PATCH 0/2] " Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: spencerpeters via Guix-patches via @ 2024-08-11 21:25 UTC (permalink / raw)
To: 72247@debbugs.gnu.org
I've fixed the inputs for go-go-senan-xyz-flagconf and cliphist and I've updated the build-system arguments as well as the [synopsis] and [description] fields for cliphist. I believe the formatting issues were caused by my email client--hopefully this time it doesn't mess up the indentation again.
Best, Spencer
* gnu/packages/golang-xyz.scm (go-go-senan-xyz-flagconf): New variable.
Change-Id: I3edcda63ca09e1370be4da8c6926bacde5d66cbf
---
gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 32b904c59c..22f5124d7c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5527,6 +5528,34 @@ (define-public go-go-etcd-io-bbolt
Postgres or MySQL.")
(license license:expat)))
+(define-public go-go-senan-xyz-flagconf
+ (package
+ (name "go-go-senan-xyz-flagconf")
+ (version "0.1.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sentriz/flagconf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rms7hj1cdi5gfyhf1am1f8c4lq9ll4ashqi87yc6aq93gqgkag0"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "go.senan.xyz/flagconf"))
+ (propagated-inputs (list go-github-com-rogpeppe-go-internal
+ go-golang-org-x-sys
+ go-golang-org-x-tools))
+ (home-page "https://go.senan.xyz/flagconf")
+ (synopsis "Extensions to Go's flag package")
+ (description
+ "Flagconf provides extensions to Go's flag package to support prefixed
+environment variables and a simple config file format.")
+ (license license:expat)))
+
(define-public go-go-uber-org-atomic
(package
(name "go-go-uber-org-atomic")
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#72247] [PATCH 2/2] gnu: Add cliphist.
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
` (3 preceding siblings ...)
2024-08-11 21:25 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
@ 2024-08-11 21:26 ` spencerpeters via Guix-patches via
2024-08-26 23:38 ` bug#72247: [PATCH 0/2] " Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: spencerpeters via Guix-patches via @ 2024-08-11 21:26 UTC (permalink / raw)
To: 72247@debbugs.gnu.org
* gnu/packages/xdisorg.scm (cliphist): New variable.
Change-Id: Ic165a6b92d7c30ee8d8ad9aa0f92cfdc198d94a5
---
gnu/packages/xdisorg.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4c12835b24..a9459440b0 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -63,6 +63,7 @@
;;; Copyright © 2022 Mehmet Tekman <mtekman89@gmail.com>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
+;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -116,6 +117,8 @@ (define-module (gnu packages xdisorg)
#:use-module (gnu packages gl)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -3852,3 +3855,37 @@ (define-public xxkb
accepts events from XKB. That means that it will work with the existing
setup of your X Server without any modifications.")
(license license:artistic2.0)))
+
+(define-public cliphist
+ (package
+ (name "cliphist")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sentriz/cliphist")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cbhrw9vk8c0in9yyhlp0k9rldgjwbcj00d7vqh69p3igznhdgsk"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:go go-1.21
+ #:import-path "go.senan.xyz/cliphist"))
+ (native-inputs (list go-github-com-rogpeppe-go-internal
+ go-go-etcd-io-bbolt
+ go-go-senan-xyz-flagconf
+ go-golang-org-x-image
+ go-golang-org-x-sys
+ go-golang-org-x-tools))
+ (home-page "https://github.com/sentriz/cliphist")
+ (synopsis "Clipboard history manager for wayland with support for images")
+ (description
+ "A Wayland clipboard history manager. It can write clipboard changes to a
++history file, recall history with any picker which accepts input from
++stdin (including dmenu, rofi, and wofi), copy and past both images and text,
++and preserve leading and trailing whitespace.")
+ (license license:gpl3)))
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#72247: [PATCH 0/2] gnu: Add cliphist
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
` (4 preceding siblings ...)
2024-08-11 21:26 ` [bug#72247] [PATCH 2/2] gnu: Add cliphist spencerpeters via Guix-patches via
@ 2024-08-26 23:38 ` Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-08-26 23:38 UTC (permalink / raw)
To: 72247-done
[-- Attachment #1: Type: text/plain, Size: 79 bytes --]
Pushed as a84f26f0af..61656d3f61 to master with minor modifications.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-08-26 23:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 1:50 [bug#72247] [PATCH 0/2] gnu: Add cliphist spencerpeters via Guix-patches via
2024-07-23 1:56 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
2024-07-23 1:57 ` [bug#72247] [PATCH 2/2] * gnu/packages/xdisorg.scm (cliphist): New variable spencerpeters via Guix-patches via
2024-07-28 22:24 ` [bug#72247] [PATCH 0/2] gnu: Add cliphist Sharlatan Hellseher
2024-08-11 21:25 ` [bug#72247] [PATCH 1/2] gnu: Add go-go-senan-xyz-flagconf spencerpeters via Guix-patches via
2024-08-11 21:26 ` [bug#72247] [PATCH 2/2] gnu: Add cliphist spencerpeters via Guix-patches via
2024-08-26 23:38 ` bug#72247: [PATCH 0/2] " Sharlatan Hellseher
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.