[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/17: gnu: clipman: Refresh package style.
From: |
guix-commits |
Subject: |
12/17: gnu: clipman: Refresh package style. |
Date: |
Wed, 27 Mar 2024 19:09:28 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 90ec785f21e6fa0ffcd2ed093c417f160c0302c8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Mar 23 09:20:31 2024 +0000
gnu: clipman: Refresh package style.
* gnu/packages/xdisorg.scm (clipman): Adjust indentation.
[arguments] <#:phases>: Rename 'patch to 'patch-wl-copy-path phase to
reflect the purpose. Revert default 'install-license-files phase.
[native-inputs]: Remove go-github-com-alecthomas-template and
go-github-com-alecthomas-units, they are propagated from
go-gopkg-in-alecthomas-kingpin-v2.
Change-Id: I5332906c126904ced595aa322be5f933c305c5f7
---
gnu/packages/xdisorg.scm | 47 ++++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 8d3fd446ee..ace1daca38 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3224,31 +3224,32 @@ After selection, the clip is put onto the PRIMARY and
CLIPBOARD X selections.")
(package
(name "clipman")
(version "1.6.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/chmouel/clipman")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256 (base32
-
"033l2hy46r2zjy8dllcmkjxidhnqac9kfh4wkq9hfvim9imp5a4m"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chmouel/clipman")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "033l2hy46r2zjy8dllcmkjxidhnqac9kfh4wkq9hfvim9imp5a4m"))))
(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"
- (("\"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-gopkg-in-alecthomas-kingpin-v2
- libnotify
- wl-clipboard))
+ (list
+ #:import-path "github.com/yory8/clipman"
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'patch-wl-copy-path
+ (lambda _
+ (substitute* "src/github.com/yory8/clipman/main.go"
+ (("\"wl-copy\"")
+ (string-append "\"" (which "wl-copy") "\""))))))))
+ (inputs
+ (list go-github-com-kballard-go-shellquote
+ go-gopkg-in-alecthomas-kingpin-v2
+ 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,
- branch master updated (c2c1098585 -> 0e8f7ee3a9), guix-commits, 2024/03/27
- 02/17: gnu: go-github-com-alecthomas-kingpin: Move to golang-xyz., guix-commits, 2024/03/27
- 03/17: gnu: go-github-com-alecthomas-template: Move to golang-xyz., guix-commits, 2024/03/27
- 01/17: gnu: go-github-com-kballard-go-shellquote: Move to golang-xyz., guix-commits, 2024/03/27
- 04/17: gnu: go-github-com-alecthomas-units: Move to golang-xyz., guix-commits, 2024/03/27
- 08/17: gnu: Add go-github-com-alecthomas-kingpin-v2., guix-commits, 2024/03/27
- 09/17: gnu: Add go-gopkg-in-alecthomas-kingpin-v2., guix-commits, 2024/03/27
- 17/17: gnu: go-github-com-nbrownus-go-metrics-prometheus: Adjust inputs., guix-commits, 2024/03/27
- 05/17: gnu: clipman: Fix source and home-page URL., guix-commits, 2024/03/27
- 13/17: gnu: go-github-com-anmitsu-go-shlex: Fix indentation., guix-commits, 2024/03/27
- 12/17: gnu: clipman: Refresh package style.,
guix-commits <=
- 10/17: gnu: go-github-com-alecthomas-kingpin: Adjust inputs., guix-commits, 2024/03/27
- 14/17: gnu: go-github-com-cyberdelia-go-metrics-graphite: Fix indentation., guix-commits, 2024/03/27
- 15/17: gnu: go-github-com-miekg-dns: Fix indentation., guix-commits, 2024/03/27
- 16/17: gnu: go-github-com-nbrownus-go-metrics-prometheus: Fix indentation., guix-commits, 2024/03/27
- 07/17: gnu: Add go-github-com-xhit-go-str2duration-v2., guix-commits, 2024/03/27
- 06/17: gnu: clipman: Update to 1.6.2., guix-commits, 2024/03/27
- 11/17: gnu: clipman: Simplify package., guix-commits, 2024/03/27