guix-commits
[Top][All Lists]
Advanced

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

51/72: gnu: Add Text-Diff.


From: Eric Bavier
Subject: 51/72: gnu: Add Text-Diff.
Date: Fri, 06 Mar 2015 14:13:08 +0000

bavier pushed a commit to branch master
in repository guix.

commit 3453cd7adb3b9ac095b9e3cb54c8f0fdab7219ff
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 16:41:32 2015 -0600

    gnu: Add Text-Diff.
    
    * gnu/packages/perl.scm (perl-text-diff): New variable.
---
 gnu/packages/perl.scm |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e4ede6a..958a948 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1544,6 +1544,30 @@ hooking into done_testing as well as via an END block.  
You can declare a
 plan, or not, and things will still Just Work.")
     (license (package-license perl))))
 
+(define-public perl-text-diff
+  (package
+    (name "perl-text-diff")
+    (version "1.41")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
+                           "Text-Diff-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ynjsa4sr1yvyh65sdfvahaafglibz70j8b6rj01cg1iisj50zx6"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-algorithm-diff" ,perl-algorithm-diff)))
+    (home-page "http://search.cpan.org/dist/Text-Diff";)
+    (synopsis "Perform diffs on files and record sets")
+    (description "Text::Diff provides a basic set of services akin to the GNU
+diff utility.  It is not anywhere near as feature complete as GNU diff, but it
+is better integrated with Perl and available on all platforms.  It is often
+faster than shelling out to a system's diff executable for small files, and
+generally slower on larger files.")
+    (license (package-license perl))))
+
 (define-public perl-text-glob
   (package
     (name "perl-text-glob")



reply via email to

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