From 0d3ec4951ee1d891f5853b4eadd95d3aa0c240e6 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 16:39:37 -0600 Subject: [PATCH] gnu: Add Algorithm-Diff. * gnu/packages/perl.scm (perl-algorithm-diff): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index fa25a8d36a..e4ede6a44b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -81,6 +81,28 @@ (home-page "http://www.perl.org/") (license gpl1+))) ; or "Artistic" +(define-public perl-algorithm-diff + (package + (name "perl-algorithm-diff") + (version "1.1903") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/T/TY/TYEMQ/" + "Algorithm-Diff-" version ".tar.gz")) + (sha256 + (base32 + "0l8pk7ziz72d022hsn4xldhhb9f5649j5cgpjdibch0xng24ms1h")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Algorithm-Diff") + (synopsis "Compute differences between two files or lists") + (description "This is a module for computing the difference between two +files, two strings, or any other two lists of things. It uses an intelligent +algorithm similar to (or identical to) the one used by the Unix \"diff\" +program. It is guaranteed to find the *smallest possible* set of +differences.") + (license (package-license perl)))) + (define-public perl-archive-zip (package (name "perl-archive-zip")