[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/45: gnu: Add clipman.
From: |
guix-commits |
Subject: |
45/45: gnu: Add clipman. |
Date: |
Fri, 17 Feb 2023 10:49:46 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit c3dd743b9a7bc9bb72718957680dfe9a618cb138
Author: Wamm K. D <jaft.r@outlook.com>
AuthorDate: Sat Jan 14 01:50:12 2023 -0600
gnu: Add clipman.
* gnu/packages/xdisorg.scm (clipman): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/xdisorg.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 2ebeb4e013..a92456f9e4 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -77,6 +77,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system go)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -107,6 +108,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
@@ -128,6 +130,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages sphinx)
+ #:use-module (gnu packages syncthing)
#:use-module (gnu packages tcl)
#:use-module (gnu packages terminals)
#:use-module (gnu packages xml)
@@ -2922,6 +2925,48 @@ depending on the value of @code{CM_LAUNCHER}) to let the
user select a clip.
After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
(license license:public-domain))))
+(define-public clipman
+ (package
+ (name "clipman")
+ (version "1.6.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://github.com/yory8/" name "/"))
+ (commit (string-append "v" version))))
+ (sha256 (base32
+
"0b9kvj0dif4221dy6c1npknhhjxvbc4kygzhwxjirpwjws0yv6v9"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/yory8/clipman"
+ #:install-source? #f
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'build 'patch
+ (lambda _
+ (substitute* "src/github.com/yory8/clipman/main.go"
+ (("gopkg.in/alecthomas/kingpin.v2")
+ "github.com/alecthomas/kingpin")
+ (("\"wl-copy\"")
+ (string-append "\"" (which "wl-copy") "\"")))))
+ (delete 'install-license-files))))
+ (native-inputs (list go-github-com-alecthomas-template
+ go-github-com-alecthomas-units))
+ (inputs (list go-github-com-kballard-go-shellquote
+ go-github-com-alecthomas-kingpin
+ libnotify
+ wl-clipboard))
+ (synopsis "Basic clipboard manager with support for persisting copy
buffers")
+ (description
+ "A clipboard manager for Wayland that relies on an external selector,
+such as @code{wofi}, @code{bemenu}, @code{dmenu}, or @code{rofi}.
+
+Run the binary in your session by adding @command{exec wl-paste -t text --watch
+clipman store} (or @command{exec wl-paste -t text --watch clipman store 1>>
+PATH/TO/LOGFILE 2>&1 &} to log errors) at the beginning of wherever you
+initialize programs.")
+ (home-page "https://github.com/yory8/clipman")
+ (license license:gpl3)))
+
(define-public kbdd
(package
(name "kbdd")
- 26/45: gnu: Add ocaml-async-unix., (continued)
- 26/45: gnu: Add ocaml-async-unix., guix-commits, 2023/02/17
- 23/45: gnu: Add ocaml-intrinsics., guix-commits, 2023/02/17
- 16/45: gnu: Add ocaml-mirage-profile-unix., guix-commits, 2023/02/17
- 08/45: gnu: Add ocaml-mirage-runtime., guix-commits, 2023/02/17
- 33/45: gnu: Add ocaml-shared-memory-ring-lwt., guix-commits, 2023/02/17
- 38/45: gnu: Add ocaml-parse-argv., guix-commits, 2023/02/17
- 43/45: gnu: Add python-virtualenv-clone., guix-commits, 2023/02/17
- 06/45: gnu: Add ocaml-emile., guix-commits, 2023/02/17
- 09/45: gnu: Add ocaml-functoria., guix-commits, 2023/02/17
- 42/45: gnu: Add chathistorysync., guix-commits, 2023/02/17
- 45/45: gnu: Add clipman.,
guix-commits <=
- 01/45: gnu: Add ocaml-domain-name., guix-commits, 2023/02/17
- 25/45: gnu: Add ocaml-async-kernel., guix-commits, 2023/02/17
- 36/45: gnu: Add ocaml-bheap., guix-commits, 2023/02/17
- 37/45: gnu: Add ocaml-mirage-xen., guix-commits, 2023/02/17
- 40/45: gnu: p11-kit-next: Switch to meson-build-system., guix-commits, 2023/02/17
- 13/45: gnu: Add ocaml-mirage-time., guix-commits, 2023/02/17
- 19/45: gnu: Add ocaml-ptime., guix-commits, 2023/02/17
- 20/45: gnu: Add ocaml-mirage-logs., guix-commits, 2023/02/17
- 12/45: gnu: Add ocaml-mirage-unix., guix-commits, 2023/02/17
- 30/45: gnu: Add ocaml-async-rpc-kernel., guix-commits, 2023/02/17