me
/
guix
Archived
1
0
Fork 0

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
master
Sharlatan Hellseher 2024-03-23 09:20:31 +00:00
parent cf5c8c4902
commit 90ec785f21
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 24 additions and 23 deletions

View File

@ -3224,31 +3224,32 @@ After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
(package (package
(name "clipman") (name "clipman")
(version "1.6.2") (version "1.6.2")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/chmouel/clipman") (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/chmouel/clipman")
(file-name (git-file-name name version)) (commit (string-append "v" version))))
(sha256 (base32 (file-name (git-file-name name version))
"033l2hy46r2zjy8dllcmkjxidhnqac9kfh4wkq9hfvim9imp5a4m")))) (sha256
(base32 "033l2hy46r2zjy8dllcmkjxidhnqac9kfh4wkq9hfvim9imp5a4m"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list #:import-path "github.com/yory8/clipman" (list
#:install-source? #f #:import-path "github.com/yory8/clipman"
#:phases #~(modify-phases %standard-phases #:install-source? #f
(add-before 'build 'patch #:phases
(lambda _ #~(modify-phases %standard-phases
(substitute* "src/github.com/yory8/clipman/main.go" (add-before 'build 'patch-wl-copy-path
(("\"wl-copy\"") (lambda _
(string-append "\"" (which "wl-copy") "\""))))) (substitute* "src/github.com/yory8/clipman/main.go"
(delete 'install-license-files)))) (("\"wl-copy\"")
(native-inputs (list go-github-com-alecthomas-template (string-append "\"" (which "wl-copy") "\""))))))))
go-github-com-alecthomas-units)) (inputs
(inputs (list go-github-com-kballard-go-shellquote (list go-github-com-kballard-go-shellquote
go-gopkg-in-alecthomas-kingpin-v2 go-gopkg-in-alecthomas-kingpin-v2
libnotify libnotify
wl-clipboard)) wl-clipboard))
(synopsis "Basic clipboard manager with support for persisting copy buffers") (synopsis "Basic clipboard manager with support for persisting copy buffers")
(description (description
"A clipboard manager for Wayland that relies on an external selector, "A clipboard manager for Wayland that relies on an external selector,