gnu: clipman: Simplify package.

* gnu/packages/xdisorg.scm (clipman):
[phases] <#:phases>: Adjust 'patch phase to relay on provided module
import path.
[inputs]: Remove go-github-com-alecthomas-kingpin; add
go-gopkg-in-alecthomas-kingpin-v2.

Change-Id: I3d9d82af29672ff94cdbd39b18ec4ed61b8e485f
This commit is contained in:
Sharlatan Hellseher 2024-03-22 22:24:17 +00:00
parent b58717b419
commit cf5c8c4902
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3240,15 +3240,13 @@ (define-public clipman
(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
go-gopkg-in-alecthomas-kingpin-v2
libnotify
wl-clipboard))
(synopsis "Basic clipboard manager with support for persisting copy buffers")