unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69969@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#69969] [PATCH 12/12] gnu: clipman: Refresh package style.
Date: Sun, 24 Mar 2024 00:37:56 +0000	[thread overview]
Message-ID: <0618ca4340787ea5b4124e8cd6576548156c7ba5.1711239854.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1711239854.git.sharlatanus@gmail.com>

* 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 025f1c5939..17a24f792d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3224,31 +3224,32 @@ (define-public clipman
   (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,
-- 
2.41.0





  parent reply	other threads:[~2024-03-24  0:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24  0:35 [bug#69969] [PATCH 00/12] gnu: clipman: Update to 1.6.2 Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 01/12] gnu: go-github-com-kballard-go-shellquote: Move to golang-xyz Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 02/12] gnu: go-github-com-alecthomas-kingpin: " Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 03/12] gnu: go-github-com-alecthomas-template: " Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 04/12] gnu: go-github-com-alecthomas-units: " Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 05/12] gnu: clipman: Fix source and home-page URL Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 06/12] gnu: clipman: Update to 1.6.2 Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 07/12] gnu: Add go-github-com-xhit-go-str2duration-v2 Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 08/12] gnu: Add go-github-com-alecthomas-kingpin-v2 Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 09/12] gnu: Add go-gopkg-in-alecthomas-kingpin-v2 Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 10/12] gnu: go-github-com-alecthomas-kingpin: Adjust inputs Sharlatan Hellseher
2024-03-24  0:37 ` [bug#69969] [PATCH 11/12] gnu: clipman: Simplify package Sharlatan Hellseher
2024-03-24  0:37 ` Sharlatan Hellseher [this message]
2024-03-27 23:11 ` bug#69969: [PATCH 00/12] gnu: clipman: Update to 1.6.2 Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0618ca4340787ea5b4124e8cd6576548156c7ba5.1711239854.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69969@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).