From 3453cd7adb3b9ac095b9e3cb54c8f0fdab7219ff Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 16:41:32 -0600 Subject: gnu: Add Text-Diff. * gnu/packages/perl.scm (perl-text-diff): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e4ede6a44b..958a948a8a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1544,6 +1544,30 @@ (define-public perl-test-warnings 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") -- cgit v1.2.3