~ruther/guix-local

cf5c8c49021f7a4280d9e9dd99cacb50a0106742 — Sharlatan Hellseher 2 years ago b58717b
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
1 files changed, 1 insertions(+), 3 deletions(-)

M gnu/packages/xdisorg.scm
M gnu/packages/xdisorg.scm => gnu/packages/xdisorg.scm +1 -3
@@ 3240,15 3240,13 @@ After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
                        (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")