guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add conflict.


From: guix-commits
Subject: branch master updated: gnu: Add conflict.
Date: Fri, 14 Jan 2022 04:28:09 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3443942cae gnu: Add conflict.
3443942cae is described below

commit 3443942cae47c2c60bed13b37a59a0d0b1a70438
Author: Foo Chuan Wei <chuanwei.foo@hotmail.com>
AuthorDate: Wed Nov 24 15:24:25 2021 +0000

    gnu: Add conflict.
    
    * gnu/packages/shellutils.scm (conflict): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/shellutils.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 7a868f0789..2fe70ffee5 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -543,6 +543,35 @@ site/BBS/person you are giving the information to tries to 
cross-check the
 city, state, zip, or area code, it will check out.")
     (license license:gpl2+)))
 
+(define-public conflict
+  (package
+    (name "conflict")
+    (version "20210108")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://invisible-mirror.net/archives/conflict/conflict-";
+                    version ".tgz"))
+              (sha256
+               (base32
+                "0mls4climvp7v9hnc3zh01mh270kqcj797ng0xslwb027lipis4h"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-paths
+           (lambda _
+             (substitute* "run_test.sh"
+               (("PATH=\".:\\$BIN:/bin\"")
+                "PATH=\".:$BIN:$PATH\"")))))))
+    (home-page "https://invisible-island.net/conflict/conflict.html";)
+    (synopsis "Displays conflicting filenames in your execution path")
+    (description
+     "@code{conflict} examines the user-specifiable list of programs, looking
+for instances in the user's path which conflict (i.e., the name appears in
+more than one point in the path).")
+    (license (license:x11-style "file://COPYING"))))
+
 (define-public renameutils
   (package
     (name "renameutils")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]